LP1886118 Staff catalog search format repair user/sandbergja/lp1886118-staffcat-search-format-signoff
authorBill Erickson <berickxx@gmail.com>
Fri, 3 Jul 2020 14:05:33 +0000 (10:05 -0400)
committerJane Sandberg <sandbej@linnbenton.edu>
Mon, 13 Jul 2020 13:39:35 +0000 (06:39 -0700)
Fixes an error in the staff catalog search params builder with regard to
encoding the search format.  The 'format' param should be 'search_format'.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/share/catalog/search-context.ts

index 7010d9e..57d9db6 100644 (file)
@@ -611,7 +611,7 @@ export class CatalogSearchContext {
         }
 
         if (ts.format) {
-            str += ' format(' + ts.format + ')';
+            str += ' search_format(' + ts.format + ')';
         }
 
         if (this.global) {