[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 19:40:36 CET 2020


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #99664|0                           |1
        is obsolete|                            |

--- Comment #2 from David Nind <david at davidnind.com> ---
Created attachment 99672
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99672&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 Enrollment action link in the staff interface is now enabled
and
clicking on it takes you to the list of enrollments

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list