Fix problem show/bytarget hangs for filtered search PAZ-889
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 30 Aug 2013 11:35:56 +0000 (13:35 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 30 Aug 2013 11:35:56 +0000 (13:35 +0200)
src/session.c

index 77d9ee8..436c462 100644 (file)
@@ -758,6 +758,11 @@ enum pazpar2_error_code session_search(struct session *se,
     int no_failed_limit = 0;
     struct client_list *l, *l0;
 
+    session_alert_watch(se, SESSION_WATCH_SHOW);
+    session_alert_watch(se, SESSION_WATCH_BYTARGET);
+    session_alert_watch(se, SESSION_WATCH_TERMLIST);
+    session_alert_watch(se, SESSION_WATCH_SHOW_PREF);
+
     session_log(se, YLOG_DEBUG, "Search");
 
     *addinfo = 0;