Skip to content
Snippets Groups Projects
Commit 060905a9 authored by Marcin's avatar Marcin
Browse files

correct mistake in a condition refactoring

parent 457e888e
No related branches found
No related tags found
3 merge requests!827Merge develop changes to master,!792fixes for demorgan de-refacot,!791revert confusing application of demorgan rule
......@@ -150,7 +150,7 @@ BEGIN
WHERE
(CASE WHEN _by_root THEN hp.root_id = _root_or_parent_id ELSE hp.parent_id = _root_or_parent_id END)
AND NOT hp.is_muted
AND (_post_id = 0 OR hp.id > _post_id)
AND (_post_id = 0 OR hp.id >= _post_id)
ORDER BY
hp.id ASC
LIMIT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment