Hi All,
Have a strange issue where I have a view setup for searching.
The view has setup some sort criteria exposed but when the page initially loads I notice that the pager at the bottom
doesn't include the 'sort_by' criteria (e.g. sort_by=""). This means when you click a page an error is shown stating you need to select an option available in the form ( even though it has default set )
error shown = "An illegal choice has been detected. Please contact the site administrator.".
If I enable ajax for the form it works fine ( but I do notice the initial pager criteria still shows sort_by="" on first load.
Hopefully that makes sense or someone else has experienced this issue ?
Cheers
Comments
Comment #1
madmartigan CreditAttribution: madmartigan commentedfinally worked it out... found a good article that resolves the issue
credit to this post
http://drupal.stackexchange.com/questions/41700/an-illegal-choice-has-be...
Comment #2
renatogThat's great! Thank you for the solution on #1, Neil. It really makes sense. Thank you so much.