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:
e22e7b2
)
Disable the clear set on position sorting. Every poll will do this
author
Dennis Schafroth
<dennis@indexdata.com>
Wed, 22 Aug 2012 09:25:22 +0000
(11:25 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Wed, 22 Aug 2012 09:25:22 +0000
(11:25 +0200)
src/http_command.c
patch
|
blob
|
history
diff --git
a/src/http_command.c
b/src/http_command.c
index
aa73f91
..
4575ef3
100644
(file)
--- a/
src/http_command.c
+++ b/
src/http_command.c
@@
-1188,8
+1188,9
@@
static void cmd_show(struct http_channel *c)
release_session(c, s);
return;
}
- session_sort(s->psession, sp->name, sp->increasing,
- sp->type == Metadata_sortkey_position);
+ session_sort(s->psession, sp->name, sp->increasing, 0);
+ /* TODO This was too simple. Will make pazpar2 continuing reseting the session resultset and redo the search. Disable this for now
+ sp->type == Metadata_sortkey_position */
status = session_active_clients(s->psession);