Closed (fixed)
Project:
Views Hacks
Version:
6.x-1.x-dev
Component:
Views Filters Selective
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2010 at 21:27 UTC
Updated:
23 Feb 2012 at 11:35 UTC
Jump to comment: Most recent file
Comments
Comment #1
infojunkiePlease review this with the latest dev. If it still does not work, please describe your scenario in more detail, especially regarding the steps needed to build the simplest view that exhibits the problem.
Comment #2
cyclonas commentedSame problem here. It doesn't work with filters exposed as Taxonomy:Term ID (with depth).
Force Single: true
limit list to selected items:true
Limit list to result set:true
Further limit list to active filters:true
Limiting field:Default
Comment #3
infojunkieThanks. I'll work on this soon.
Comment #4
infojunkieFixed in the latest dev for "Taxonomy:Term ID (with depth)" filters. Please try it (12 hours from now) and let me know.
Comment #5
cyclonas commentedit doesn't return parent terms.
Comment #6
infojunkieIf you want to help fix this bug that affects you, please try to provide clearer and more detailed reports. When you write:
, I have to figure out what you mean and reproduce your situation from those very few words. It would be much more helpful to explain your settings (e.g. are you using a certain depth?) and ideally provide a screenshot to illustrate what you're saying. This way we can reduce the possibility of me misunderstanding your report.
Thanks!
Comment #7
cyclonas commentedYou are right sorry.
well i have two vocabularies
VocA
----------
terma1
terma2
terma3
etc
VocC
----------
termc1
-childtermc1
-childtermc2
--childchildtermc2
termc2
termc3
-childtermc3
I use them in my view as exposed filters, the first one as taxonomy term:id and the other as taxonomy term id (with depth). As you can see in the attached images for the first i get an error and for the second there is no parent terms. I think that the corect it should be
termc1
-childtermc1
-childtermc2
--childchildtermc2
termc3
-childtermc3
Comment #8
infojunkieThanks cyclonas for the detailed bug report. From the screenshots I can deduce that you're not using the latest dev because I explicitly fixed the SQL error there. Please download the dev again and ensure that the file views_filters_selective/views_filters_selective.module contains the code:
This version should fix your error.
Comment #9
cyclonas commentedI still get the same SQL error for the [Taxonomy:Term] filter, Views Hacks 6.x-1.x-dev 2010-Oct-23 , Views 6.x-2.11. There is no value for $filter->definition['field'] or $filter->definition['table']
Comment #10
cyclonas commented...from eclipse debugger
Comment #11
infojunkieFixed in the latest dev. Please try it (12 hours from now to allow for dev release refresh or pull directly from CVS branch DRUPAL-6--1).
Comment #13
FuXXz commentedBut in the dev Version there is still no option to show the parent Item also!
Example (numbers represent the count of nodes belong to the terms)
Vocab1
-term1 (1)
-term2
-term2-1 (1)
-term2-2 (1)
The restrict to result option shows only term1 and the subterms "term2-1/term2-2
The option think that term2 is empty.
It this desired?
Comment #14
planctus commentedI noticed this too...
If you have a taxonomy filter with hierarchy the parent term is being removed from the list even though it has children terms returning from the query...
I don' think this is desiderable.
Thanks,
Da.