Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author anmari

    (@anmari)

    how weird – some fields work, some do not… I’ll see if I can recreate

    Plugin Author anmari

    (@anmari)

    Ha! – it’s the new transient cacheing – if you are logged in as admin, sorting works because transients not being used.

    Seems to work intermittently because depends if transient cacheing just expired or not – now how to fix?

    Plugin Author anmari

    (@anmari)

    Ok fixed in dev version – will be updated soon.

    Exclamation mark only appears if you are admin and logged in and the transient cached html is being displayed. If you hover over it, you’ll see it tells you
    1) that only admin sees the message (use another browser where you are not loggged in to see difference)
    2) that the transient cache is in use (cached html only used on first viewing of page, not if sorting, searching, filtering etc) – this is to avoid confusion when the list does not appear to update immediately after a change. transients expire fairly quickly and are expired after cache rebuilt etc etc

    Interesting to see that fb connect uses non wp first and lasr names, and doesn’t copy / create in normal wp user first/last name – I wonder why ? – makes the list look a bit odd…. hmm I wonder…

    Thread Starter shaische

    (@shaische)

    Well we had FB connect on there for a while now ever since we installed it, so I do not believe that is the reason. Unless amr-users operates somehow differently now or something.

    Thread Starter shaische

    (@shaische)

    Let me know when you are able to figure out a fix for it please as we are planning to launch our student site sometime soon hopefully.

    Much Thanks.

    Plugin Author anmari

    (@anmari)

    Hi shaische,

    3.3.6 has gone up and should sort it out.

    I only made the fb comment because I saw that the fieldnames you are using for first and last names appear NOT be the standard wp first and last name fields and that intrigued me.

    the plugin uses the “technical” name to pass a sort request and those fields are coming up as

    fb_user_infos-last_name

    in the sort url https://www.psgaonline.org/students-list/?sort=fb_user_infos-first_name&dir=SORT_ASC

    whereas for eg the registration date is the normal wp one

    https://www.psgaonline.org/students-list/?sort=user_registered&dir=SORT_ASC

    If you are no longer using whatever generated those fields, then they will not be populated for newer users.

    Thread Starter shaische

    (@shaische)

    Hi,

    I updated the plugin, the date of registration sorting seems to work fine now. But the custom fields like Grade, Major of Study, Minor etc. are still not sorting.

    Link: https://www.psgaonline.org/students-list/

    Thanks.

    Plugin Author anmari

    (@anmari)

    Hi – they are sorting for me when I click through.

    It is just that there are a lot of blanks – first click (SORT ASC) the blanks sort to the top, then second click (SORT DESC) the non blank values show as the blanks sort to the end.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: amr users] Lists not filtering by ASC & DESC properly’ is closed to new replies.