Commits

Anonymous committed 3d0b6f8

Fixed timeline search for queries without options except date(range)

  • Participants
  • Parent commits ff61620

Comments (0)

Files changed (1)

app/main/timeline/_action/update.lua

   end
 end
 
+if not options_string then
+  options_string = "issue_created:* issue_finished_after_voting:* issue_accepted:* issue_voting_started:* suggestion_created:* issue_canceled:* initiative_created:* issue_finished_without_voting:* draft_created:* initiative_revoked:* issue_half_frozen:* "
+end
+
 if param.get_list("option_ignore_area", atom.string) then
   options_string = options_string.." ignore_area:"..table.concat(param.get_list("option_ignore_area", atom.string), "|")
 end
 
-if not options_string then
-  options_string = "issue_created:* issue_finished_after_voting:* issue_accepted:* issue_voting_started:* suggestion_created:* issue_canceled:* initiative_created:* issue_finished_without_voting:* draft_created:* initiative_revoked:* issue_half_frozen:* "
-end
-
 local setting_key = "liquidfeedback_frontend_timeline_current_options"
 local setting = Setting:by_pk(app.session.member.id, setting_key)