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!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
FileSize
517 bytes

Thx for reporting. Here is a patch + a simpltest

dawehner’s picture

Test file missing

Bilmar’s picture

Thanks 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

dawehner’s picture

so status rtbc?

Bilmar’s picture

Status: Needs review » Reviewed & tested by the community

yes, I think it would be ok for rtbc
changing the status now if that is ok

thanks!

Bilmar’s picture

redpuma’s picture

Will this patch fix version 6.x-2.8 ? That was the version I am having problems with.

Bilmar’s picture

#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.

wila’s picture

This 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.

redpuma’s picture

Hi Wila,
There are some pages about how to apply a patch here http://drupal.org/node/60108

wila’s picture

thanks 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?

redpuma’s picture

In 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.

merlinofchaos’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

Fixed 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.

wila’s picture

Version: 7.x-3.x-dev » 6.x-3.0-alpha2

thanks 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)

dawehner’s picture

Version: 6.x-3.0-alpha2 » 7.x-3.x-dev

Checkout 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

dawehner’s picture

Status: Patch (to be ported) » Fixed

And commited.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

gerritvanaaken’s picture

Version: 7.x-3.x-dev » 6.x-3.x-dev
Component: Miscellaneous » field data
Priority: Normal » Critical
Status: Closed (fixed) » Needs work

There 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!

dawehner’s picture

Project: Views (for Drupal 7) » Date
Version: 6.x-3.x-dev » 6.x-2.x-dev
Component: field data » Code
Priority: Critical » Normal
Status: Needs work » Active

Wow 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.

gerritvanaaken’s picture

Thanks! 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!

dawehner’s picture

Status: Active » Fixed

So 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

charlie-s’s picture

Is 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.