X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=blobdiff_plain;f=Open-ILS%2Fsrc%2Feg2%2Fsrc%2Fapp%2Fshare%2Fcatalog%2Fcatalog.service.ts;h=55fd18e1882f6acebfc8aa7d2cf3080c767aca62;hp=90a959975a139e9b472ee90dd962b22f9d006b9e;hb=58814097786c080b46ce3cd5d54f8bc21d23297f;hpb=1ec8ea366ec372b4464d7115021de463eb3f0fd1 diff --git a/Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts b/Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts index 90a9599..55fd18e 100644 --- a/Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts +++ b/Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts @@ -362,4 +362,15 @@ export class CatalogService { ctx.searchState = CatalogSearchState.COMPLETE; })); } + + cnBrowse(ctx: CatalogSearchContext): Observable { + ctx.searchState = CatalogSearchState.SEARCHING; + const cbs = ctx.cnBrowseSearch; + + return this.net.request( + 'open-ils.supercat', + 'open-ils.supercat.call_number.browse', + cbs.value, ctx.searchOrg.shortname(), ctx.pager.limit, cbs.offset + ).pipe(tap(result => ctx.searchState = CatalogSearchState.COMPLETE)); + } }