[Koha-bugs] [Bug 21890] Patron password reset by category
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 1 16:37:38 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21890
--- Comment #12 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 84632
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84632&action=edit
Bug 21890: Add can_any_reset_password() to the Categories TT plugin
This patch introduces a method to the Koha::Template::Plugin::Categories
TT plugin. This methods queries for categories that have the
can_reset_password flag set, and returns a boolean representing the fact
that there's at least one category with the flag set.
To test:
- Apply this patch
- Run:
$ kshell
k$ prove t/db_dependent/Template/Plugin/Categories.t
=> SUCCESS: Tests pass!
- Sign off :-D
Caveat: this patch/tests require the schema to be updated
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list