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

Support archive

AZ show_empty not working

PDM 4 Apr 2012 15:55 problem, complete

Hi Low,

I'm using Low Alphabet 1.08 and the following code

  
{exp:low_alphabet:azlist channel="vendors" alpha_field="{biz_city}" show_empty="no"}
{if count == 1}<div id="alphafilter"><h3>Browse by City</h3> <a href="/firewood/all/">All</a>{/if}
<a href="{path="firewood/{low_alphabet_url}"}/">{low_alphabet_label}</a>
{if count == total_results}</div>{/if}
{/exp:low_alphabet:azlist}


but the show_empty parameter is behaving weirdly. I don't have any entries for the letters Q, X, Y & Z. The A-Z list correctly leaves out X & Y, but Q & Z are displayed. I checked the exp_channel_data table directly just to make sure I'm not overlooking any Q or Z entries, and there really are none.

Any thoughts on a fix?

Thanks!

Paula

Replies

  1. Low 4 Apr 2012 15:58

    Hi Paula,

    First off, the alpha_field parameter should contain the short name of the field, without curly brackets, so:

    {exp:low_alphabet:azlist channel="vendors" alpha_field="biz_city" show_empty="no"}


    Can you try that and see if that solves the issue?

  2. PDM 4 Apr 2012 16:01

    Wow, a 30-second response time and the fix all in one. You rock! Thanks Low :)

  3. Low 4 Apr 2012 16:02

    No problem. Glad it worked out. :)