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

Request list: all items with a temporary circulation category are hidden #2296

Closed
pronguen opened this issue Aug 16, 2021 · 1 comment · Fixed by #2307
Closed

Request list: all items with a temporary circulation category are hidden #2296

pronguen opened this issue Aug 16, 2021 · 1 comment · Fixed by #2307
Assignees
Labels
bug Breaks something but is not blocking f: circulation Concerns the circulation interface or backend f: professional ui Professional interface p-High High priority (to be solved in the 2-3 next months)

Comments

@pronguen
Copy link
Contributor

pronguen commented Aug 16, 2021

Describe the bug

Request list: all items with a temporary circulation category are hidden.

To Reproduce

  1. Create an item that can be requested, or take an existing one
  2. Add him a temporary circulation category with negative_availability:true
    • See that it is not in the request list (/professional/circulation/requests) > correct
  3. Change the item to have a temporary circulation category with negative_availability:false
    • See that it is not in the request list (/professional/circulation/requests) > it should be because it is available

Expected behavior

Request list:

  • items with a temporary circulation category with negative_availability:true should not be part of this list
  • items with a temporary circulation category with negative_availability:false should be part of this list

The list should display the same request that are addressed by the notification request. The conditions should be coded together/factored.

Context

@pronguen pronguen added f: circulation Concerns the circulation interface or backend bug Breaks something but is not blocking p-High High priority (to be solved in the 2-3 next months) f: professional ui Professional interface labels Aug 16, 2021
@zannkukai zannkukai self-assigned this Aug 17, 2021
@zannkukai
Copy link
Contributor

@pronguen
Not sure to well understand the workflow. If an item appears into the circulation/request page, it's because a request has been created on it before (in a time where this item was available). If we change the availability of the item, is that the corresponding request should be hide ?

Using this behavior, we couldn't change the status/cancel (at this time it's not yet possible).
I would be sure to not work now and change the behavior in some weeks.

In all cases, if an item has a temporary location with negative_availability=false : I'm agree, it should always appears in the list.

zannkukai added a commit to zannkukai/rero-ils that referenced this issue Aug 17, 2021
Closes rero#2296.

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Aug 19, 2021
Closes rero#2296.

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Aug 30, 2021
Closes rero#2296.

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Aug 30, 2021
Closes rero#2296.

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Sep 2, 2021
Closes rero#2296.

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Sep 3, 2021
Closes rero#2296.

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Sep 6, 2021
Closes rero#2296.

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
iGormilhit pushed a commit that referenced this issue Sep 9, 2021
Closes #2296.

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks something but is not blocking f: circulation Concerns the circulation interface or backend f: professional ui Professional interface p-High High priority (to be solved in the 2-3 next months)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants