Kevin M. Brooks (lucretio) wrote in lj_dev,
Kevin M. Brooks

[PATCH] fix directory sorting method, untested

The problem: On directorysearch.bml, the "User name" sorting method yields no results.

Why: Look at this. The SQL is missing "user u" in the FROM part, and missing "AND u.userid=ui.userid AND ui.userid=u.userid" in the WHERE part.

Patch: This patch has not been tested, because I don't know how (or if) I can get the directory to work on my goathack. I've looked the code over pretty carefully, and this seems all right. If someone else could test this (or use the information I've given to write a better patch), that'd be great.

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded