r26260 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26259‎ | r26260 | r26261 >
Date:20:17, 30 September 2007
Author:erik
Status:old
Tags:
Comment:
defined-meaning-attributes need a WHERE clause, too
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/SpecialSuggest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/OmegaWiki/SpecialSuggest.php
@@ -123,7 +123,8 @@
124124 $query == 'translated-text-attribute' or
125125 $query == 'text-attribute' or
126126 $query == 'link-attribute' or
127 - $query == 'collection')
 127+ $query == 'collection' or
 128+ $query == 'defined-meaning-attribute')
128129 $searchCondition = " WHERE $rowText LIKE " . $dbr->addQuotes("$search%");
129130 else
130131 $searchCondition = " AND $rowText LIKE " . $dbr->addQuotes("$search%");

Status & tagging log