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

Support archive

Low Alphabet, filter by title but orderby custom field

Joobs 19 Mar 2014 16:39 question,

In Low alphabet, i wish to get all entries beginning with "C" but order those via a custom field.

so to output something like this:
Location: A, Name: CZ
Location: B, Name: CA
Location: C. Name: CB
Location: C. Name: CX
Location: D, name: CC

I've tried the following below

[code]
{exp:low_alphabet:entries channel="exhibitor" disable="member_data|pagination|categories" alpha_field="title" orderby="cf_custom_field" sort="desc" alpha_filter="c" parse="inward"}
[/code]

but i get a php error
Message: Undefined index: title
Filename: low_alphabet/pi.low_alphabet.php
Line Number: 770

Is it possible to get all entries starting with a letter and then order them by another field?

EE version v2.5.5, Low Alphabet: 1.1.0 (with a Sort patch i got from here https://getsatisfaction.com/low/topic...)

Replies

  1. Low 19 Mar 2014 16:54

    Try using alpha_field="title" orderby="cf_custom_field|title" sort="desc|asc". Does that work for you?