diff options
author | Andrew Dolgov <[email protected]> | 2023-05-06 14:07:10 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-05-06 14:07:10 +0300 |
commit | 3de09b44f27a151075aaad33def27e261ac7915c (patch) | |
tree | 3116ad034379c51f450c8a8c180bac63c242dcc6 /classes/feeds.php | |
parent | 0578bf802571781a0a7e3debbbec66437a7d28b4 (diff) |
_order_to_override_query: fix custom sort plugins overriding each other
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-x | classes/feeds.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 68619302f..e95599b85 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -2458,6 +2458,9 @@ class Feeds extends Handler_Protected { PluginHost::getInstance()->chain_hooks_callback(PluginHost::HOOK_HEADLINES_CUSTOM_SORT_OVERRIDE, function ($result) use (&$query, &$skip_first_id) { list ($query, $skip_first_id) = $result; + + // run until first hard match + return !empty($query); }, $order); |