From: Galen Charlton Date: Mon, 16 Mar 2015 20:35:44 +0000 (+0000) Subject: LP#1427287: (erratum) use "description" rather than "value" X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6ec99ee33da01e76540e6f4a9c88cefe53513950;p=working%2FEvergreen.git LP#1427287: (erratum) use "description" rather than "value" This makes the indicator list have the same shape as the subfield code list. Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm index d8ae85dead..a1ace2d59e 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm @@ -1481,7 +1481,11 @@ sub retrieve_tag_table { for my $pos (1..2) { my $ind_ccvm_key = "${marc_format}_${marc_record_type}_${tag}_ind_${pos}"; my $indvals = $e->json_query({ - select => { ccvm => [ "code", "value" ] }, + select => { ccvm => [ + 'code', + { column => 'value', alias => 'description' } + ] + }, from => 'ccvm', where => { ctype => $ind_ccvm_key } });