All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Another n and y filtering issue

dcboswel 6 Feb 2015 21:06 problem, rejected

When filtering lists using a - z, the results don't get filtered for letters starting with n or y. I read in the problem reported below that its something inside EE that turns n and y to no and yes. You said you were preparing a fix asap. I'm assuming this fix was in place but for some reason I'm still having this issue. Can you let me know how to overcome this issue?

https://getsatisfaction.com/low/topic...

Replies

  1. Low 6 Feb 2015 21:21

    Yeah, that fix has been in place for a while now. Can't seem to replicate it with the latest versions. What are your PHP, EE and LA versions?

  2. dcboswel 6 Feb 2015 21:31

    Hi Low,

    I'm using EE 2.9.2, LA 1.2.1, PHP 5.3.29.

  3. Low 6 Feb 2015 21:33

    And what's your template code? You can use http://pastie.org/ or http://pastebin.com/ for large chunks of code.

  4. dcboswel 6 Feb 2015 22:35

    Low,

    Here is the snippet I've created:

    http://pastebin.com/L4FDPkBF

    Here is the template that calls the snippet:

    http://pastebin.com/mFZuZVKB

    Thanks for investigating this.

    Also, I'm using switchee segment 4 shares the space for pagination or the a-z sorting. They both can't happen at the same time from what I've tried to test. Is there some way to re-write the code to allow both to occur? That would be great. Otherwise I will just leave it as is since it does work.

  5. Low 6 Feb 2015 23:30

    Let's focus on the not-filtering on n/y values. So the Entries tag is showing, but not filtering on those values for alpha_filter?

    I'll need to take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.

  6. dcboswel 7 Feb 2015 01:40

    Low,

    I just sent you credentials for the website login.

  7. Low 7 Feb 2015 09:52

    Oh, before I dive in, does removing dynamic="yes" from the Entries tag help?

  8. dcboswel 7 Feb 2015 13:47

    Low,

    Unfortunately that didn't change anything. Should I put it back into the entries tag or does it really matter?