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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Mon, 14 Nov 2022 14:16:09 +0000 (15:16 +0100)
commit6886b8a47e1cf9d2f88ebc88b91524aff01cfc0e
treed6ba79095059edc2af947cbb81227b2c7cea835e
parent45fd9c2e528f2e9577e48a195347747aa82952cd
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>
(cherry picked from commit c757abd675c538a55c93bf3e337e16c0911d06e7)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 0de714bbadb050c3a1eecec7670ec38bf8a69cf3)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt