-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
rero/rero-ils-ui
#1134Labels
UIUser interface or user experienceUser interface or user experiencebugBreaks something but is not blockingBreaks something but is not blockingclient requestIssue reported by production librariesIssue reported by production librariesf: public uiPublic interface, as opposed to the professional interfacePublic interface, as opposed to the professional interface
Description
Bug description:
When searching for documents in the public view, the brief view shows "availability". But in an organisation viewcode, the component says : "available" if any item is available in another organisation, even if all items in my org are not available.
This component calls /api/document/<document.pid>/availability to check if the document is available but it forgets to pass the viewcode parameter to the backend.
Expected behavior:
In a viewcode, if no item is available in my organisation, the document should not display as "available", even if items in other organisations are available.
Steps to Reproduce:
- Find a document that is not available (for example, all items on loan) in your organisation but is available in others
- Look at this document brief view in the public view (organisation viewcode)
- See that it says "available"
Context
- Versions: >=1.19.0
Metadata
Metadata
Assignees
Labels
UIUser interface or user experienceUser interface or user experiencebugBreaks something but is not blockingBreaks something but is not blockingclient requestIssue reported by production librariesIssue reported by production librariesf: public uiPublic interface, as opposed to the professional interfacePublic interface, as opposed to the professional interface
Type
Projects
Status
Done