capitulated ... eh, capitalized :-)

This commit is contained in:
Michael 2018-02-05 16:58:58 +00:00
parent 2a78a4db14
commit 6cd72690c7

View file

@ -201,7 +201,7 @@ function search_content(App $a) {
FROM `term`
STRAIGHT_JOIN `item` ON `item`.`id`=`term`.`oid` %s
WHERE %s AND (`term`.`uid` = 0 OR (`term`.`uid` = %d AND NOT `term`.`global`))
AND `term`.`otype` = %d AND `term`.`type` = %d AND `term`.`term` = '%s' and `item`.`verb` = '%s'
AND `term`.`otype` = %d AND `term`.`type` = %d AND `term`.`term` = '%s' AND `item`.`verb` = '%s'
ORDER BY term.created DESC LIMIT %d , %d ",
item_fieldlists(), item_joins(), item_condition(),
intval(local_user()),