https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24841
--- Comment #10 from Arthur Suzuki <[email protected]> --- (In reply to mathieu saby from comment #9) > Hi > My library is planning to use the holds API to mimic the behavior of the > OPAC, and the current behavior is problematic. > > What about a new parameter to define the "context" of the action > (?context=staff vs ?context=opac ) ? Hi Mathieu, I totally agree with you. Moreover, this is what I've implemented in another bug I've been working on : https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25408 This one was for ILS-DI but some circulation rules are dependent of the context by design (opacitemholds especially). So, we need a way to set C4::Context->interface from API calls. I think this new parameter should be optional so as not to break any existing software that use this API. What do you think the default behavior should be if parameter is not set? Opac or Staff? I would recommend Opac since it is more restrictive. Arthur -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
