We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6a54c1 commit 8f0b0bfCopy full SHA for 8f0b0bf
components/com_finder/src/Model/SearchModel.php
@@ -260,6 +260,12 @@ protected function getListQuery()
260
261
$query->order('ordering ' . $db->escape($direction));
262
263
+ /*
264
+ * Prevent invalid records from being returned in the final query.
265
+ * This can happen if the search results are queried while the indexer is running.
266
+ */
267
+ $query->where($db->quoteName('object') . ' != ' . $db->quote(''));
268
+
269
/*
270
* If there are no optional or required search terms in the query, we
271
* can get the results in one relatively simple database query.
0 commit comments