8000 circulation: fix has_is_open library method by PascalRepond · Pull Request #3396 · rero/rero-ils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

circulation: fix has_is_open library method #3396

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

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

PascalRepond
Copy link
Contributor
  • Fixes _has_is_open library method so that it doesn't return True if the library has no standard opening hours but has an exception closed date in the future.

Why are you opening this PR?

  • Which task/US does it implement?
  • Which issue does it fix?

Dependencies

My PR depends on the following rero-ils-ui's PR(s):

  • rero/rero-ils-ui#

How to test?

  • What command should I have to run to test your PR?
  • What should I test through the UI?

@PascalRepond PascalRepond requested review from zannkukai and jma July 4, 2023 11:11
@PascalRepond PascalRepond self-assigned this Jul 4, 2023
@PascalRepond PascalRepond requested a review from rerowep July 6, 2023 08:07
Copy link
Contributor
@jma jma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great to have a test.

@rerowep
Copy link
Contributor
rerowep commented Jul 12, 2023

It would be great to have a test.

+1

- Fixes `_has_is_open` library method so that it doesn't return True
if the library has no standard opening hours but has an exception closed
date in the future.

Co-authored-by: Pascal Repond <pascal.repond@rero.ch>
@PascalRepond
Copy link
Contributor Author

It would be great to have a test.

@jma @rerowep Done.

@PascalRepond PascalRepond merged commit 5d5d629 into rero:staging Jul 13, 2023
@PascalRepond PascalRepond deleted the rep-fix-has-open branch July 13, 2023 08:12
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

Successfully merging this pull request may close these issues.

4 participants
0