ukwa / shine

Prototype SOLR-powered web archive exploration UI.
https://github.com/ukwa/shine/wiki
Apache License 2.0
43 stars 7 forks source link

Countdown in total results figure on paging through results #61

Open peterwebster opened 9 years ago

peterwebster commented 9 years ago

A strange bug this one. Each time the user pages to the next 10 results, the total number showing falls by 10.

http://www.webarchive.org.uk/shine/search?query=%22rowan+williams%22&page=4&sort=content_type_norm&facet.fields=public_suffix&order=asc&tab=results&action=search&mode= shows 'Results 31 to 40 of 204,578'

http://www.webarchive.org.uk/shine/search?query=%22rowan+williams%22&page=5&sort=content_type_norm&facet.fields=public_suffix&order=asc&tab=results&action=search&mode=

shows 'Results 41 tp 50 of 204,568'

Surely the total should stay the same?

kinmanli commented 9 years ago

I am currently using:

SolrDocumentList#getNumFound()

Will look at another way

anjackson commented 9 years ago

I'm surprised by that behaviour. Ah well, of course, you know the offset, so you can just add it back on.