projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change semantics of rank lead.
[pazpar2-moved-to-github.git]
/
src
/
session.h
diff --git
a/src/session.h
b/src/session.h
index
b6b3ca2
..
45fdbb3
100644
(file)
--- a/
src/session.h
+++ b/
src/session.h
@@
-163,7
+163,7
@@
enum pazpar2_error_code session_search(struct session *s, const char *query,
const char *maxrecs,
const char *filter, const char *limit,
const char **addinfo,
const char *maxrecs,
const char *filter, const char *limit,
const char **addinfo,
- const char *sort_field, int increasing);
+ struct reclist_sortparms *sort_parm);
struct record_cluster **show_range_start(struct session *s,
struct reclist_sortparms *sp,
int start,
struct record_cluster **show_range_start(struct session *s,
struct reclist_sortparms *sp,
int start,
@@
-196,6
+196,7
@@
void session_log(struct session *s, int level, const char *fmt, ...)
struct session_sorted_results {
const char *field;
int increasing;
struct session_sorted_results {
const char *field;
int increasing;
+ int position;
struct session_sorted_results *next;
};
struct session_sorted_results *next;
};