You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.
Changed the signature to search(start) which will set this.searchStart
if the value is not undefined. A 0 is passed when a facet select is
made.
This addressed the issue without causing a regression with paging,
though I feel like the issue is in the paging calculation in the api
search promise success case.
refs #39
This addresses the fix, but I think the issue lies in the paging calculation here. The searchStart property seems to be used for both evidence_collection state and display. These two uses are at odds since the pager is 0-based.
We might want to make the server side 1-based to match the use on the client. Thoughts?
If you click on a facet with a single value you will get No results.
Steps to reproduce:
GET /api/evidence
request passesstart=1
which will skip that first result.This is because
this.searchStart
will be set to1
after the initial search is done. See this code.The text was updated successfully, but these errors were encountered: