distroquery: print "results show" not "results found" when showing pages > 1
This commit is contained in:
parent
0566f3557c
commit
9ca0fcb65a
@ -525,11 +525,11 @@ void printQueryData() {
|
||||
printf("<hr>");
|
||||
|
||||
printf("]]></queryreply>");
|
||||
if (otherresults)
|
||||
k = query_offset / query_limit + 1; /* k = current shown page */
|
||||
if (otherresults || k > 1)
|
||||
printf("<querystatus><![CDATA[%d %s.", numresults, _("result(s) shown"));
|
||||
else
|
||||
printf("<querystatus><![CDATA[%d %s.", numresults, _("result(s) found"));
|
||||
k = query_offset / query_limit + 1; /* k = current shown page */
|
||||
if (k < 7) j=1; else j=k-5; /* j = start pages list from */
|
||||
if (!otherresults) {
|
||||
/* current page is last available */
|
||||
|
Loading…
Reference in New Issue
Block a user