Filtering not working for letters "n" and "y"
Hey Low,
I'm experiencing an issue when trying to filter by the letters "n" and "y". All other letters are working as expected but when I try "n" or "y" it lists out all entries in the channel, regardless of their title. Here's a code example:
{exp:low_alphabet:entries channel="topics" alpha_field="title" alpha_ignore="a|the" alpha_filter="{embed:filter}" dynamic="no" paginate="both" limit="10" cache="yes" refresh="60"}
{if no_results}<p>No Topics</p>{/if}
{if count == "1"}<h3>Filtering by "{embed:filter}"</h3>{/if}
<a href="{page_url}">{title}</a>
{/exp:low_alphabet:entries}
"{embed:filter}" is being replaced by a,b,c,d etc in a loop. I've also tried hardcoding letters instead but still getting the same results: it works fine for everything except "n" and "y". Any ideas what might be causing this?
Many Thanks,
Chuck
Replies
Low 12 Apr 2011 12:00
Confirmed! Looks like EE changes the parameter values 'n' and 'y' to 'no' and 'yes', which in turn aren't valid values for Low Alphabet. Cheeky!
I'll get a fix in place right away.
Low 12 Apr 2011 12:13
Easy enough to fix, tho. Version 1.0.2 should take care of this. Just updated it on my site and Devot:ee.
ChuckNeely 12 Apr 2011 14:15
Legendary Low - Thanks for the super-quick fix :)
Chuck