projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
601854b
)
Don't use local variable same_sort_order
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 31 Jan 2013 14:46:03 +0000
(15:46 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 31 Jan 2013 14:46:28 +0000
(15:46 +0100)
It's replaced by client->same_search member.
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
b7fcfec
..
0817d8e
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-734,7
+734,6
@@
enum pazpar2_error_code session_search(struct session *se,
int no_failed_query = 0;
int no_failed_limit = 0;
struct client_list *l, *l0;
- int same_sort_order = 0;
session_log(se, YLOG_DEBUG, "Search");
@@
-749,10
+748,6
@@
enum pazpar2_error_code session_search(struct session *se,
session_enter(se, "session_search");
se->settings_modified = 0;
- if (se->sorted_results) {
- if (!reclist_sortparms_cmp(se->sorted_results, sp))
- same_sort_order = 1;
- }
session_clear_set(se, sp);
relevance_destroy(&se->relevance);