WordPress.org

Support

Support » Multisite » 3.1 Upgrade, now user and site search not working

3.1 Upgrade, now user and site search not working

  • Since upgrading to 3.1, in the Network Admin page, I can see the list of sites and list of users. But I can’t search either of those lists as I used to.

    Even when searching for something (a username or a site name) that I know is there (I can see it right in the list), the search function returns no results.

    With close to 1700 users and 1900 sites, I don’t want to have to look through every page to find the exact one I need to get. Anyone else experiencing problems with this function?

Viewing 15 replies - 1 through 15 (of 24 total)
  • Crap. I’m getting the same.

    Edit: correction – I’m only getting this on partials. If I type in the username *exactly* then it finds it.

    Andrew Nacin
    Lead Developer

    @nacin

    You need to use explicit trailing wildcards now.

    nac* or nacin will find me. nac will not. (*cin will also not work.)

    Aha. I see that now–it works with the explicit trailing wildcard.

    But it’s really too bad about the preceding wildcard not working, at least. It was very helpful before, when students didn’t remember their exact usernames, to be able to search a partial.

    Any chance that will come back?

    Yeah, pete filled me in. 😀

    (I think he told me before and I forgot)

    Andrew Nacin
    Lead Developer

    @nacin

    They should be able to search by email still, which is nice. It actually detects the @ and automatically knows to search the email field. Pretty nifty.

    With regards to leading wildcards, that is something we considered, but decided against straight-up implementing it. Trailing wildcards are okay on performance cause it can search the start of the field, but leading definitely hurt the DB. (I actually think that leading is just as bad as both leading and trailing, but I haven’t confirmed.)

    It’s not easy to reverse it, but it should be possible in a plugin. You’ll have to hook into WP_User_Query.

    Thanks, Andy. That makes sense.

    antonbalds
    Member

    @antonbalds

    Hi..
    I have some problem when I search user using their email, I have a case which i must to show how many user using email from yahoo.

    I try using * example yahoo.com* or *yahoo.com or *yahoo.com*
    it doesn’t work.

    i wonder if i miss some clue..or in WP 3.1 doesn’t support case like that??

    thanks..

    Andrew Nacin
    Lead Developer

    @nacin

    @antonbalds: Currently *@yahoo.com won’t work in a network (without a plugin as I mention above). But it would be a worthy enhancement for a future version of WordPress.

    antonbalds
    Member

    @antonbalds

    @andrew : i see. Ok thanks for explanation, maybe just for now i must search from Db or just find a plugin.

    thanks..

    tommcgee
    Participant

    @tommcgee

    The way I used to add existing users to a blog was to go to that blog’s Dashboard and use the Super Admin/User panel. I could do a search for the name, click the edit link on the one I wanted, and assign that user a role.

    Now I have to search in the Network Admin users, search for the user with wild cards, copy their email address, then navigate to the individual blog’s Users panel and paste it in, while assigning a role.

    I know it’s not the end of the world, but it’s a step backwards in terms of manageability.

    http://wordpress.org/extend/plugins/add-users-sidebar-widget/

    or, if the user has added a comment to that site… you have their email address in the backend of that site and don;t need to look them up in network admin.

    Does anyone have an issue when they click edit after searching for a site? When I do so it kicks me back to the network “main” page.

    I’ve realized out that the sitename is in the URL and if I remove it from the url it works.

    http://mydomain.com/path/sitename/wp-admin/network/site-info.php?id=99999

    Again, if i remove the sitename it works fine…Suggestions?

    dscottS3 – Yes and it will be fixed in 3.1.1 🙂

    http://core.trac.wordpress.org/ticket/16720

    Awesome! Thanks Ipstenu.

    I used to be able to search for Sites but now it isn’t working even if I try using a wild card?

    If I click the link for sites I see a list of all my network sites. I have one that is called template. I can see it on the very first page of sites it lists out. If I type template into the search box it comes back with zero matches. If I type temp* I also get zero matches.

    The only changes made to the site are as follows.

    When I first set up my network on a fresh install I chose the default settings. Later, I found it made the main blog so it didn’t start with www. Seeing as I wanted my main blog to start with www I followed these directions. Everything is working perfectly as far as I can tell aside from this one problem I have located.

    I currently have about 60 sites using using sub-domains. I have checked the majority of them and they are all working. I can add new sites with not problems. Plugins are working.. Everything is working except for the search feature in the Network Sites Admin page.

    Any ideas would be appreciated.

    Sincerely,
    Kevin.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘3.1 Upgrade, now user and site search not working’ is closed to new replies.