LP1886118 Staff catalog search format repair
authorBill Erickson <berickxx@gmail.com>
Fri, 3 Jul 2020 14:05:33 +0000 (10:05 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 20 Jul 2020 20:47:16 +0000 (16:47 -0400)
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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
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) {