• 
      

    Fix autocomplete drop-downs for users and groups.

    Review Request #2018 — Created Dec. 28, 2010 and submitted

    Information

    Review Board
    master

    Reviewers

    Fix autocomplete drop-downs for users and groups.
    
    This change fixes two problems with the autocomplete drop-downs. First of all,
    we were using the old API path, which worked fine except didn't do any
    local-site filtering and won't work when we turn off the old API. Second, the
    /api/users/ resource was using "query" instead of "search_q" in some of the LIKE
    relations, which created a complex query that promptly raised a mysql
    operational error.
    Autocomplete works on rbcommons.com (including filtering out invalid users).
    chipx86
    1. Awesome :) Mind also crossporting the query variable fix to release-1.5.x? I want to get the API super stable on that branch.
    2.