guardian / grid

The Guardian’s image management system
https://www.theguardian.com/info/developer-blog/2015/aug/12/open-sourcing-grid-image-service
Apache License 2.0
1.44k stars 119 forks source link

fix reporting of `searchResponseCount` as it was always 10k #4183

Closed twrichards closed 8 months ago

twrichards commented 8 months ago

noticed the management/imageCounts endpoint of media-api was always reporting 10k as the searchResponseCount because it was lacking the trackTotalHits=true (like searches via the UI get by default) and hence was capping out.

Looks to have fixed things in TEST...

image
prout-bot commented 8 months ago

Seen on metadata-editor, collections, thrall (merged by @twrichards 8 minutes and 57 seconds ago) Please check your changes!

prout-bot commented 8 months ago

Seen on leases, cropper, usage, media-api (merged by @twrichards 9 minutes and 4 seconds ago) Please check your changes!

prout-bot commented 8 months ago

Seen on auth, kahuna (merged by @twrichards 9 minutes and 10 seconds ago) Please check your changes!

prout-bot commented 8 months ago

Seen on image-loader (merged by @twrichards 9 minutes and 21 seconds ago) Please check your changes!