[Koha-bugs] [Bug 24736] "Enrollments" not correctly disabled when nobody is enrolled to a club yet

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 26 17:50:02 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24736

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 99664
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99664&action=edit
Bug 24736: Disable "Enrollments" link if nobody enrolled to the club yet

The link is disabled but it's possible to click and access the page
anyway.

Test plan:
- Create a new club template
- Create a new club
- Click the Actions > Enrollments link
=> Without this patch you can access the page
=> With this patch applied you cannot, and a tooltip explains why (feel
free to suggest another wording)
- Add a new patron to this club (from
/cgi-bin/koha/opac-user.pl#opac-user-clubs)
- Notice that the action link is not enabled and click takes you to the
list of enrollments

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list