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

Support archive

alpha_filter is not working with alpha_field

gudehus 16 Dec 2013 12:44 problem, complete

When I'm using the alpha _field parameter the filtering is not working anymore. When I omit it (so using title) everything is working fine.

{exp:low_alphabet:entries channel="contributors" alpha_field="last_name" alpha_filter="{segment_3}"}

this is not giving me anything.

Replies

  1. Low 16 Dec 2013 13:21

    What are your PHP, EE and Low Alphabet versions?
    Also, can you enable template debugging and copy/paste all lines that mention Low Alphabet here?

  2. gudehus 16 Dec 2013 14:21

    php 5.3.27
    Expression Engine 2.7.2
    alphabet 1.1.0

    Here is the debug output beginning with the first alphabet line

    (0.012241 / 1.50MB) Tag: {exp:low_alphabet:uppercase text="g" numbers_label="#"}
    (0.012335 / 1.50MB) No Closing Tag
    (0.012408 / 1.50MB) Tag: {exp:search:simple_form channel="news|contributors|publications|pages" search_in="entries" result_page="search/results" form_id="search"}
    (0.012514 / 1.50MB) Closing Tag Found
    (0.012587 / 1.50MB) Tag: {exp:bbr_langswitcher show_current="yes" orderby="language_code" sort="asc"}
    (0.012678 / 1.50MB) Closing Tag Found
    (0.012749 / 1.51MB) Tag: {exp:navee:nav nav_title="foot_de" selected_class_on_parents="true"}
    (0.012839 / 1.51MB) No Closing Tag
    (0.012892 / 1.51MB) Tag: {exp:navee:nav nav_title="main_de" selected_class_on_parents="true" id="main"}
    (0.012961 / 1.51MB) No Closing Tag
    (0.013012 / 1.51MB) Tag: {exp:low_replace find="/articles" replace="/articles/list"}
    (0.013074 / 1.51MB) Closing Tag Found
    (0.013131 / 1.51MB) Tag: {exp:low_alphabet:entries channel="contributors" alpha_field="last_name" alpha_filter="g"}
    (0.013198 / 1.51MB) Closing Tag Found
    (0.013258 / 1.52MB) Tag: {exp:low_alphabet:azlist channel="contributors" sort="asc" alpha_field="last_name"}
    (0.013326 / 1.52MB) Closing Tag Found
    (0.013373 / 1.52MB) Processing Tags
    (0.013407 / 1.52MB) Plugin Tag: Low_alphabet/uppercase
    (0.013431 / 1.52MB) Module Tag: Search/simple_form
    (0.013457 / 1.52MB) Plugin Tag: Bbr_langswitcher/
    (0.013480 / 1.52MB) Module Tag: Navee/nav
    (0.013503 / 1.52MB) Module Tag: Navee/nav
    (0.013529 / 1.52MB) Plugin Tag: Low_replace/
    (0.013553 / 1.52MB) Plugin Tag: Low_alphabet/entries
    (0.013577 / 1.52MB) Plugin Tag: Low_alphabet/azlist
    (0.013598 / 1.52MB) Including Files for Plugins and Modules
    (0.014749 / 1.60MB) Files for Plugins and Modules All Included
    (0.015193 / 1.61MB) Beginning Final Tag Data Processing
    (0.015214 / 1.61MB) Calling Class/Method: Low_alphabet/uppercase
    (0.015310 / 1.62MB) -> Class Called: Low_alphabet
    (0.015731 / 1.64MB) -> Method Called: uppercase
    (0.015830 / 1.64MB) -> Data Returned
    (0.015869 / 1.64MB) Calling Class/Method: Search/simple_form
    (0.015953 / 1.64MB) -> Class Called: Search
    (0.015981 / 1.64MB) -> Method Called: simple_form
    (0.017002 / 1.67MB) -> Data Returned
    (0.017051 / 1.67MB) Calling Class/Method: Bbr_langswitcher/
    (0.017342 / 1.67MB) -> Class Called: Bbr_langswitcher
    (0.017732 / 1.67MB) -> Method Called: Bbr_langswitcher
    (0.017805 / 1.67MB) -> Data Returned
    (0.017838 / 1.67MB) Calling Class/Method: Navee/nav
    (0.017919 / 1.67MB) -> Class Called: Navee
    (0.018429 / 1.67MB) -> Method Called: nav
    (0.019571 / 1.68MB) -> Data Returned
    (0.019609 / 1.67MB) Calling Class/Method: Navee/nav
    (0.019691 / 1.67MB) -> Class Called: Navee
    (0.020180 / 1.68MB) -> Method Called: nav
    (0.022170 / 1.71MB) -> Data Returned
    (0.022259 / 1.67MB) Calling Class/Method: Low_replace/
    (0.022345 / 1.68MB) -> Class Called: Low_replace
    (0.022433 / 1.68MB) -> Method Called: __construct
    (0.022504 / 1.68MB) -> Data Returned
    (0.022557 / 1.68MB) Calling Class/Method: Low_alphabet/entries
    (0.022745 / 1.68MB) -> Class Called: Low_alphabet
    (0.022778 / 1.68MB) -> Method Called: entries
    (0.022846 / 1.68MB) Low Alphabet: Getting channel field info from API
    (0.062540 / 2.00MB) Returning No Results Content
    (0.062677 / 2.00MB) -> Data Returned
    (0.062745 / 2.00MB) Calling Class/Method: Low_alphabet/azlist
    (0.062771 / 2.00MB) Nested Plugins in Tag, Parsing Outward First
    (0.062891 / 2.01MB) Tag: {exp:loopee forint="1" to="11" by="1"}
    (0.062973 / 2.02MB) Closing Tag Found
    (0.063048 / 2.02MB) Plugin Tag: Loopee/
    (0.063066 / 2.02MB) Including Files for Plugins and Modules
    (0.063302 / 2.02MB) Files for Plugins and Modules All Included
    (0.063335 / 2.02MB) Beginning Final Tag Data Processing
    (0.063354 / 2.02MB) Calling Class/Method: Loopee/
    (0.063521 / 2.03MB) -> Class Called: Loopee
    (0.063755 / 2.03MB) -> Method Called: Loopee
    (0.063828 / 2.03MB) -> Data Returned
    (0.064596 / 2.01MB) -> Class Called: Low_alphabet
    (0.064633 / 2.01MB) -> Method Called: azlist
    (0.097844 / 2.05MB) -> Data Returned
    (0.098047 / 2.04MB) - End Tag Processing -
    (0.098198 / 2.04MB) Processing Advanced Conditionals
    (0.102325 / 2.00MB) - End Template Processing -
    (0.102342 / 2.00MB) Parse Global Variables
    (0.104342 / 2.01MB) Template Parsing Finished

  3. Low 16 Dec 2013 14:31

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

  4. Low 17 Dec 2013 08:40

    For visibility: You have to use orderby="last_name" to get the listing that you want, instead of using alpha_field="last_name".