Bug 31516: Add error message for viewing enrollments for a non-existent club
authorJoonas Kylmälä <joonas.kylmala@iki.fi>
Fri, 2 Sep 2022 18:51:25 +0000 (18:51 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 12 Sep 2022 19:19:27 +0000 (16:19 -0300)
commitc757abd675c538a55c93bf3e337e16c0911d06e7
tree0fccaff09c640cbcbc9c4f31700339498f039fe7
parenta93d6fa8530aa2b92d7b443e1361e4428c1c4f1b
Bug 31516: Add error message for viewing enrollments for a non-existent club

To test:
 1) Go to non-existent club's enrollment page, e.g.
    http://localhost:8081/cgi-bin/koha/clubs/club-enrollments.pl?id=1010101001000
 2) Notice the not fully filled header text and empty table
 3) Apply patch and revisit the page to see the proper error message given

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt