Commit ce1268c2 authored by gergely-ujvari's avatar gergely-ujvari

Fix for page search: handle empty quote list well

The previous fix introduced handling the page search quote search facets as list.
However the empty list was not handled well. This correct that.
parent c791dc80
...@@ -757,6 +757,7 @@ class ViewFilter ...@@ -757,6 +757,7 @@ class ViewFilter
matches = false matches = false
break break
when 'quote' when 'quote'
unless value.length > 0 then continue
# Reply annotations does not have a quote in this aspect # Reply annotations does not have a quote in this aspect
if annotation.references? if annotation.references?
matches = false matches = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment