]> git.koha-community.org Git - koha.git/commit
Bug 32121: (QA follow-up) Use error_code rather than key
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 2 Feb 2023 16:17:06 +0000 (16:17 +0000)
committerJacob O'Mara <jacobomara901@gmail.com>
Wed, 10 May 2023 14:17:56 +0000 (15:17 +0100)
commitb0015f7124ece3f88e018b5c33e9d7908dacabbe
treefd8a5b488917380486630ca1f492dd736171bbc4
parent320b29cbde84e763b9415bea58917a1257eec61a
Bug 32121: (QA follow-up) Use error_code rather than key

We semi-recently introduced error_code into our error object to allow
for translation and code paths for different errors without having to
rely on long description string matches.

This QA follow-up converts the existing match and new 'key' fields
introduced in this patchset to use the updated 'error_code' key.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f04dd671aff9c753676eb96b14bff470d942c0e8)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
Koha/REST/V1/Items.pm
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt