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
Return matching records found, not fetched
[pazpar2-moved-to-github.git]
/
src
/
session.c
diff --git
a/src/session.c
b/src/session.c
index
fde1e78
..
eb50ad1
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-1044,7
+1044,7
@@
static int targets_termlist_nb(WRBUF wrbuf, struct session *se, int num,
ht[i].hits);
if (version >= 2) {
- wrbuf_printf(wrbuf, "<records>%d</records>\n", ht[i].records);
+ wrbuf_printf(wrbuf, "<records>%d</records>\n", ht[i].records - ht[i].filtered);
wrbuf_printf(wrbuf, "<filtered>%d</filtered>\n", ht[i].filtered);
}