Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have noticed that the filter option "Limit list to selected items" does not stick in views 6.x-3.x-dev (February 15, 2010)
I would select the option and update, go back to the filter and the option is unchecked.
Please refer to the below screencast showing this issue:
http://www.screencast.com/users/trupal218/folders/Jing/media/a091b52e-97...
Please let me know if more information is needed.
Thanks!
Comment | File | Size | Author |
---|---|---|---|
#2 | 721358-in_operator-reduce.patch | 3.59 KB | dawehner |
#1 | 721358-in_operator-reduce.patch | 517 bytes | dawehner |
Comments
Comment #1
dawehnerThx for reporting. Here is a patch + a simpltest
Comment #2
dawehnerTest file missing
Comment #3
Bilmar CreditAttribution: Bilmar commentedThanks for the quick patch dereine!
It applied smoothly and the "Limit list to selected items" works great! =)
I tested on a exposed filter both as a block and not as a block.
Regards
Comment #4
dawehnerso status rtbc?
Comment #5
Bilmar CreditAttribution: Bilmar commentedyes, I think it would be ok for rtbc
changing the status now if that is ok
thanks!
Comment #6
Bilmar CreditAttribution: Bilmar commentedI have marked #679118: Exposed filter doesn't respect "Limit list to selected items" as a duplicate. Thanks
Comment #7
redpuma CreditAttribution: redpuma commentedWill this patch fix version 6.x-2.8 ? That was the version I am having problems with.
Comment #8
Bilmar CreditAttribution: Bilmar commented#679118: Exposed filter doesn't respect "Limit list to selected items" was set to version 6.x-3.0-alpha2
I tested this patch with 6.x-3.x-dev and it works great.
Comment #9
wila CreditAttribution: wila commentedThis may be a quite dull question, but what do I do exactly with this patch? I get a load of plus-es and minus-es, but how do I set this up?
I sure by now you all know I'm not the big php technical guy ;-)
Thanks!
W.
Comment #10
redpuma CreditAttribution: redpuma commentedHi Wila,
There are some pages about how to apply a patch here http://drupal.org/node/60108
Comment #11
wila CreditAttribution: wila commentedthanks redpuma, that almost did it, but i got a line 'which file to patch' question...
need I start this patch in the drupal core directory?
Comment #12
redpuma CreditAttribution: redpuma commentedIn that case I think you may need to do it like the second option
If the patch was not made relative to the project's root directory, you can place the patch in the same directory as the file being patched and run the patch command without the -p option. To do so, cd to the directory and type:
patch < file.patch
I must admit I haven't tried the patch, we had to work around this issue and offered links to each view rather than using an exsposed view.
Comment #13
merlinofchaos CreditAttribution: merlinofchaos commentedFixed in 6.x-3.x. I didn't actually try this in 7.x because I'm not sure if tests can go back and forth with ease.
Comment #14
wila CreditAttribution: wila commentedthanks merlinofchaos.
any idea where (or when) I can download this fixed views module version ? On the project page, it still says alpha2 (dating January 26th)
Comment #15
dawehnerCheckout views via cvs, or use this patch, or wait 6hrs until the dev release. You can find the dev release unter http://ftp.drupal.org/files/projects/views-6.x-3.x-dev.tar.gz
Move back to 7.x
Comment #16
dawehnerAnd commited.
Comment #18
gerritvanaaken CreditAttribution: gerritvanaaken commentedThere is still an "Missing date fields" error when trying to filter dates fields. See video here:
http://screencast.com/t/OGE0NzQ5MmUt
I have the latest dev-version (March 26).
Basically, this seems to be the same error as in here (http://drupal.org/node/731608), but that topic was redirected here. I’m not sure if it’s the same problem, maybe the date issue is something different that the "Limit list to selected items" topic!
Comment #19
dawehnerWow you are using 3.x, i guess you know thats its not a stable version. Anyway
1) As you see this field is provided by the date module, so the views module cannot do anything here at all.
I guess that this issue is already fixed with the latest version of the date module, because the module implemented this wrong, but i'm not sure.
Comment #20
gerritvanaaken CreditAttribution: gerritvanaaken commentedThanks! Updating the Date module to the latest development version did the trick! I had no idea that something else than the view module could be responsible for that!
Comment #21
dawehnerSo this is fixed.
Views is one of the most extendable modules. You can change the behavior from everyhing, even the query building, beside the UI.
PS: I like your blog.
Comment #23
charlie-s CreditAttribution: charlie-s commentedIs this fixed in Views 2.12? I cannot get a single paged View to limit a dropdown of taxonomy terms from a specified vocabulary to those checked.