]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Mar 2023 10:50:03 +0000 (12:50 +0200)
commitf04dd671aff9c753676eb96b14bff470d942c0e8
tree21cb1d09c6c240a20ff1e9d0c77143bd273f4624
parentde362442661cc5c2e66bd090a2eda474c19b2efb
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>
Koha/REST/V1/Items.pm
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt