projects
/
yaz-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:
4b0c748
)
Default facet start is 1
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 12 Sep 2013 13:26:56 +0000
(15:26 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 12 Sep 2013 13:26:56 +0000
(15:26 +0200)
src/sru_facet.c
patch
|
blob
|
history
diff --git
a/src/sru_facet.c
b/src/sru_facet.c
index
87eb9ed
..
67e4733
100644
(file)
--- a/
src/sru_facet.c
+++ b/
src/sru_facet.c
@@
-86,7
+86,8
@@
void yaz_sru_facet_request(ODR o, Z_FacetList **facetList, const char **limit,
}
if (av.start || av.useattr)
{
- wrbuf_printf(w_start, "%d", av.start);
+ wrbuf_printf(w_start, "%d",
+ av.start == 0 ? 1 : av.start);
if (av.useattr)
wrbuf_printf(w_start, ":%s", av.useattr);
wrbuf_puts(w_start, ",");