Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft records sometimes result "No results", even when records exist. #1856

Open
plaihonen opened this issue Jun 2, 2021 · 0 comments
Open

Comments

@plaihonen
Copy link
Contributor

plaihonen commented Jun 2, 2021

Sometimes when reviewing draft records, the UI shows "No results", even though draft records do exist.

May or may not be related to issues: #1359 and / or #1352

Tested on https://trng-b2share.eudat.eu/

Steps to produce:

  1. Create a draft record.
  2. Go To user pull-down menu, and select "Published records".
  3. Go To user pull-down menu, and select "Draft records". --> "No results"
  4. Go To user pull-down menu, and select "Draft records" again. --> Draft records are shown

Steps 2 - 4 can be repeated with consistently same results.

Generally, when you go between your published records and draft records via the user pull-down menu, the draft records must be selected twice in order for them to show up.

The difference in the URL between "No results" and displaying the draft records, seems to be the following.
Records shown: https://trng-b2share.eudat.eu/records/?drafts=1
No records shown: https://trng-b2share.eudat.eu/records/?q=owners%3ANNN&sort=mostrecent&page=1&size=10&drafts=1
where NNN = user's ID or similar such number.

By getting rid of the "q=owners%3ANNN&" in the URL fixes it for me, but not necessarily for some other cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant