lyceum-users AT lists.ibiblio.org
Subject: Lyceum-users mailing list
List archive
- From: Juan Arias <juanito_budapest AT yahoo.es>
- To: Lyceum <lyceum-users AT lists.ibiblio.org>
- Subject: [Lyceum-users] search bug 0.34
- Date: Tue, 16 Jan 2007 19:38:25 +0100
Just downloaded new version, it´s looking pretty nice, good job! I found that the search mechanism hasn´t changed much, and it was still not returning empty search results to me . . .it was NOT updating SQL´s WHERE clause when no results where found that matched user´s query... ¿working as intended? If not, It can be resolved by making simple changes to lib/wp-includes/clasess.php :
$searchresults = implode(',',$searchresults); $search = " AND (`$wpdb->posts`.`ID` IN ($searchresults))"; } else { // No results, shouldn´t return anything $search = " AND (1 = 0 ) " ; } Hope that helps if it wasnt looked over during revisions... |
-
[Lyceum-users] search bug 0.34,
Juan Arias, 01/16/2007
- Re: [Lyceum-users] search bug 0.34, John Joseph Bachir, 01/17/2007
Archive powered by MHonArc 2.6.24.