Bug 29729: Build a tr for each subscription
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 17 Dec 2021 21:09:19 +0000 (21:09 +0000)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 10 Jan 2022 15:50:08 +0000 (15:50 +0000)
commita49ce9e0f94d47e51255269b01b528dd4e1505c8
tree415114d25ce1611365c8f99895f96f16cb5670d5
parent02bcf744ebab7866319a81e43b7a7152a4ce0a5f
Bug 29729: Build a tr for each subscription

To test:
1 To to Reports > Serials > Serials subscriptions and run the report while selecting a branch without subscriptions.
2 Notice console error
3 If you run the report for a branch WITH subscriptions it works just fine.
4 Apply patch
5 Do 1 again, no console error and show no see 'No entries to show'
6 Make sure it also works when you have a few subscriptions for a branch as well

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 344e091f407d885f0fcb5af752409a09ebf56999)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt