Koha-clms/Koha/Template/Plugin
Martin Renvoize b18fbab806
Bug 39781: (QA follow-up) Fix crashes, dead code and add tests
- Fix potential crash when C4::Context->userenv returns undef:
  use the established ternary guard pattern used throughout other
  TT plugins (AuthorisedValues, Branches, Desks, etc.)
- Remove dead second argument passed to GetLettersAvailableForALibrary,
  which only accepts one argument; the group_by/columns/order_by
  hashref was silently dropped
- Fix typo "librries" -> "libraries" in GetByModuleForLibrary POD
- Update POD example to use 'add_message' module matching actual usage
- Add test coverage for GetByModuleForLibrary, verifying that a user
  logged in to a branch sees branch-specific and all-libraries notices,
  while users at other branches see only all-libraries notices

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
2026-03-24 15:38:09 +01:00
..
AdditionalContents.pm
…
Asset.pm
…
AudioAlerts.pm
…
AuthClient.pm Bug 37711: (follow-up) Fix AuthClient plugin database upgrade handling 2025-11-05 07:12:33 -07:00
AuthorisedValues.pm
…
Biblio.pm
…
Branches.pm
…
Categories.pm
…
CirculationRules.pm
…
ClassSources.pm
…
Context.pm
…
Desks.pm
…
ExtendedAttributeTypes.pm
…
Frameworks.pm
…
HtmlId.pm
…
HtmlScrubber.pm
…
HtmlTags.pm
…
I18N.pm
…
Item.pm
…
ItemTypes.pm
…
JSConsents.pm
…
Koha.pm Bug 41107: (follow-up) Use Koha::Status in Koha::Template::Plugin::Koha 2026-03-23 09:33:54 +01:00
KohaDates.pm
…
KohaPlugins.pm Bug 40095: Add context to intranet_js plugin hook 2026-02-06 15:17:36 -07:00
KohaSpan.pm
…
KohaTimes.pm
…
Languages.pm
…
NoticeTemplates.pm Bug 39781: (QA follow-up) Fix crashes, dead code and add tests 2026-03-24 15:38:09 +01:00
Notices.pm
…
Price.pm
…
Registers.pm
…
Remove_MARC_punctuation.pm
…
SafeURL.pm
…
TablesSettings.pm
…
To.pm
…
raw.pm
…