Admin Columns
Can't sort user column (4 posts)

  1. deFUNKT
    Posted 3 years ago #

    I added two extra fields to user (http://pastebin.com/QqrV90CJ)

    I can add them as columns through the plugin. But when I want to sort them (I bought the addon), I get "No users found".

    The query string is wp-admin/users.php?orderby=registered&order=asc

    registered is the corredt meta field.

    Extra info: this is in a multisite installation.


  2. Tobias Schutter
    Plugin Author

    Posted 3 years ago #

    Your Column Heading is called 'registered', and internally this argument is reserved by the WP_User_Query. This conflicts with the sorting.

    A very simple solution would be to rename your column, for example: "User registered".

    This should fix it.

  3. deFUNKT
    Posted 3 years ago #

    Hi Tobias,

    I changed the field and header to defunktnu_registered, but that doesn't seem to change the situation.


    doesn't return any users.

  4. Tobias Schutter
    Plugin Author

    Posted 3 years ago #

    This has to do with the multisite installation, I will look into this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Admin Columns
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic