LP1895660: Biblio.pm
authorJason Boyer <JBoyer@equinoxinitiative.org>
Tue, 15 Sep 2020 13:08:28 +0000 (09:08 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 14 May 2021 21:38:02 +0000 (17:38 -0400)
Odd number of elements in anonymous hash

The type key is missing from some param descriptions,
leaving things uneven.

Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm

index 58ca5af..3606106 100644 (file)
@@ -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./,