Closed (fixed)
Project:
Views Hacks
Version:
6.x-1.x-dev
Component:
Views Filters Selective
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2011 at 09:16 UTC
Updated:
24 May 2012 at 22:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
maico de jongHaving the same problem with latest dev version.
Views selective exposed filter gives "An illegal choice has been detected" error when an options is set that is not available on the current page when using exposed items per page using Views 6.x-3.0.
Problem seems to be that the module only looks in results present on the current page for limiting its exposed options when exposed items per page are set in the url "&items_per_page=12". Exposed pager options should be ignored when limiting exposed item results.
Comment #2
maico de jongSince the GET var for exposed items per page is set as exposed_items_per_page by views i altered views_filters_selective.module by adding some lines of code to first unset exposed_items_per_page and after the clone is rendered set it again.
Added a patch that works with latest dev(2012-May-02)
Changed category of this post to support request since exposed items per page support was never there.
Comment #3
infojunkieThanks for the patch! Committed to latest dev.