From: Jason Boyer Date: Tue, 15 Sep 2020 13:08:28 +0000 (-0400) Subject: LP1895660: Biblio.pm X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f7ce8e41c0d637ef103fdafeeb5fdc578df9494f;p=evergreen%2Fmasslnc.git LP1895660: Biblio.pm Odd number of elements in anonymous hash The type key is missing from some param descriptions, leaving things uneven. Signed-off-by: Jason Boyer Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm index 58ca5af85e..3606106c07 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm @@ -1986,10 +1986,10 @@ __PACKAGE__->register_method( desc => 'Returns a printable version of the specified bib record', params => [ { desc => 'Biblio record entry ID or array of IDs', type => 'number' }, - { desc => 'Context library for holdings, if applicable' => 'number' }, - { desc => 'Sort order, if applicable' => 'string' }, - { desc => 'Sort direction, if applicable' => 'string' }, - { desc => 'Definition Group Member id' => 'number' }, + { desc => 'Context library for holdings, if applicable', type => 'number' }, + { desc => 'Sort order, if applicable', type => 'string' }, + { desc => 'Sort direction, if applicable', type => 'string' }, + { desc => 'Definition Group Member id', type => 'number' }, ], return => { desc => q/An action_trigger.event object or error event./, @@ -2003,15 +2003,15 @@ __PACKAGE__->register_method( signature => { desc => 'Emails an A/T templated version of the specified bib records to the authorized user', params => [ - { desc => 'Authentication token', type => 'string'}, + { desc => 'Authentication token', type => 'string'}, { desc => 'Biblio record entry ID or array of IDs', type => 'number' }, - { desc => 'Context library for holdings, if applicable' => 'number' }, - { desc => 'Sort order, if applicable' => 'string' }, - { desc => 'Sort direction, if applicable' => 'string' }, - { desc => 'Definition Group Member id' => 'number' }, - { desc => 'Whether to bypass auth due to captcha' => 'bool' }, - { desc => 'Email address, if none for the user' => 'string' }, - { desc => 'Subject, if customized' => 'string' }, + { desc => 'Context library for holdings, if applicable', type => 'number' }, + { desc => 'Sort order, if applicable', type => 'string' }, + { desc => 'Sort direction, if applicable', type => 'string' }, + { desc => 'Definition Group Member id', type => 'number' }, + { desc => 'Whether to bypass auth due to captcha', type => 'bool' }, + { desc => 'Email address, if none for the user', type => 'string' }, + { desc => 'Subject, if customized', type => 'string' }, ], return => { desc => q/Undefined on success, otherwise an error event./,