jenkins-bot has submitted this change and it was merged. Change subject: Get results when the score is not stored too ......................................................................
Get results when the score is not stored too Bug: T144999 Change-Id: I0fdefaaedb041502760031fc532476ea89b8f249 --- M includes/Hooks.php 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Catrope: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/Hooks.php b/includes/Hooks.php index e1624e7..60d3f76 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -137,7 +137,7 @@ $conds[] = '(oresm_name = ' . $dbr->addQuotes( 'damaging' ) . ' OR oresm_name IS NULL)'; - $conds[] = 'oresm_is_current != 0'; + $conds[] = '(oresm_is_current != 0 OR oresm_is_current IS NULL)'; $join_conds['ores_classification'] = [ 'LEFT JOIN', 'rc_this_oldid = oresc_rev ' . @@ -261,7 +261,7 @@ $query['conds'][] = '(oresm_name = ' . $dbr->addQuotes( 'damaging' ) . ' OR oresm_name IS NULL)'; - $query['conds'][] = 'oresm_is_current != 0'; + $query['conds'][] = '(oresm_is_current != 0 OR oresm_is_current IS NULL)'; $query['join_conds']['ores_classification'] = [ 'LEFT JOIN', 'rev_id = oresc_rev ' . -- To view, visit https://gerrit.wikimedia.org/r/309174 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0fdefaaedb041502760031fc532476ea89b8f249 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/ORES Gerrit-Branch: wmf/1.28.0-wmf.18 Gerrit-Owner: Catrope <roan.katt...@gmail.com> Gerrit-Reviewer: Catrope <roan.katt...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits