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

transitions: add transitions kwargs #144

Merged
merged 2 commits into from
Sep 30, 2021

Conversation

kpsherva
Copy link
Contributor

@kpsherva kpsherva commented Sep 27, 2021

  • transitions: add options to after method

@BadrAly we needed to pass additional kwargs to the signal sent in after transition method, could be potentially a breaking change

@kpsherva kpsherva force-pushed the bulk_extension branch 9 times, most recently from e08f8bf to 96a55a9 Compare September 29, 2021 09:37
@@ -23,6 +23,7 @@ def loan_links_factory(pid, record=None):
'CIRCULATION_LOAN_TRANSITIONS', {}
)
for transition in transitions_config.get(record['state']):
# determines if the transition should be accessible by the user
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# determines if the transition should be accessible by the user

@kpsherva kpsherva force-pushed the bulk_extension branch 2 times, most recently from c411310 to 60f317b Compare September 29, 2021 09:57
@ntarocco ntarocco changed the title links_factory: add system links transitions: add transitions kwargs Sep 29, 2021
@BadrAly
Copy link

BadrAly commented Sep 30, 2021

@kprzerwa it should not be a problem, I believe we need to adapt our code that connect to the signal loan_state_changed.

@kpsherva kpsherva force-pushed the bulk_extension branch 2 times, most recently from fdcd446 to 60f317b Compare September 30, 2021 11:44
@kpsherva kpsherva merged commit 76ba1ee into inveniosoftware:master Sep 30, 2021
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.

3 participants