Skip to content
Permalink
Browse files

Fix searching by rating

  • Loading branch information...
chrisgraham committed May 24, 2019
1 parent 74946d2 commit b1093d22bda1488c683f38ae6ff50fe462ffd638
Showing with 1 addition and 1 deletion.
  1. +1 −1 sources/database_search.php
@@ -975,7 +975,7 @@ function nl_delim_match_sql($field, $i, $type = 'short', $param = null, $table_a
* @param boolean $permissions_field_is_string Whether the permissions field is a string
* @return array The rows found
*/
function get_search_rows($meta_type, $meta_id_field, $content, $boolean_search, $boolean_operator, $only_search_meta, $direction, $max, $start, $only_titles, $table, $fields, $where_clause, $content_where, $order, $select = '*', $raw_fields = null, $permissions_module = null, $permissions_field = null, $permissions_field_is_string = false)
function get_search_rows($meta_type, $meta_id_field, $content, $boolean_search, $boolean_operator, $only_search_meta, $direction, $max, $start, $only_titles, $table, $fields, $where_clause, $content_where, &$order, $select = '*', $raw_fields = null, $permissions_module = null, $permissions_field = null, $permissions_field_is_string = false)
{
if (multi_lang_content()) {
@ignore_user_abort(false); // If the user multi-submits a search, we don't want to run parallel searches (very slow!). That said, this currently doesn't work in PHP, because PHP does not realise the connection has died until way too late :(. So we also use a different tact (dedupe_mode) but hope PHP will improve with time.

0 comments on commit b1093d2

Please sign in to comment.
You can’t perform that action at this time.