Active
Project:
Content Taxonomy
Version:
6.x-1.0-rc2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2008 at 21:06 UTC
Updated:
1 Apr 2012 at 06:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
michalkar commentedHello All
I am at the same point. I am waiting for any advices and if I develop something I will publish.
Michal
Comment #2
mh86 commentedthe current views support doesn't join on the term_data table. it just selects the term ID out of the cck table. in a formatter function taxonomy_get_term is called on the term ID and the term name gets returned.
this is definitely not optimal, but it was very easy to implement, because I just could reuse the whole CCK's views integration.
before an official release, this has to be fixed. I appreciate when someone starts working on this issue
Comment #3
Anonymous (not verified) commentedIf i knew how to code it i would help :) Give me twenty years...
But in the meantime i would like to add my support for this feature, as since moving from D5 to D6, i am no longer able to sort half my views.
Comment #4
drewish commentedsubscribing... i might have some time to work on this next week.
Comment #5
drewish commentedTalked to merlinofchaos on IRC about doing the sorting and he pointed out that we should be able to use the field's relation to get it sorted... but *doh*! we don't have a relation from the CCK field to the term_data table. The attached patch adds one which allows us to use the built in taxonomy sorting. We might get some other features for free but I haven't checked yet.
Comment #6
drewish commentedokay turns out that #294995: CCK Content taxonomy + Views + Term name argument is now a dupe of this because with the relation you can use view's built-in taxonomy handlers for arguments.
Comment #7
drewish commentedalso marked the following as duplicates since this patch will address them:
#339201: Display title as link
#279462: Allow fields to be sortable in views
Comment #8
mikeytown2 commentedSubscribing
If using multiple tags per field can it use the top tag, instead of it not being sorted? Kinda like the way it works with tokens?
Comment #9
mh86 commentedHi all!
I committed the patch from #5. This is really awesome, I never though it's going to be that easy to get these features... in the drupal 5 version I had to write lots of code for the arguments..
thanks a lot!
Comment #10
drewish commentedsweet! looking forward to the next official release ;)
Comment #12
sugreenhi,
sorry for my english.
in patch on line:
+ 'field' => 'tid',
should be:
+ 'base field' => 'tid',
is it right?