EventEmitter, ViewChild, Renderer2} from '@angular/core';
import {Observable, of} from 'rxjs';
import {map} from 'rxjs/operators';
-import {IdlService, IdlObject} from '@eg/core/idl.service';
-import {EventService} from '@eg/core/event.service';
+import {IdlObject} from '@eg/core/idl.service';
import {NetService} from '@eg/core/net.service';
import {AuthService} from '@eg/core/auth.service';
import {OrgService} from '@eg/core/org.service';
-import {PcrudService} from '@eg/core/pcrud.service';
import {ServerStoreService} from '@eg/core/server-store.service';
-import {ToastService} from '@eg/share/toast/toast.service';
-import {StringComponent} from '@eg/share/string/string.component';
-import {ComboboxEntry, ComboboxComponent} from '@eg/share/combobox/combobox.component';
import {GridComponent} from '@eg/share/grid/grid.component';
import {GridDataSource} from '@eg/share/grid/grid';
import {Pager} from '@eg/share/util/pager';
constructor(
private renderer: Renderer2,
private net: NetService,
- private org: OrgService,
+ public org: OrgService,
private auth: AuthService,
private store: ServerStoreService
) {
clear() {
this.search = {profile: null};
- this.searchOrg = this.org.root();
}
getRows(pager: Pager, sort: any[]): Observable<any> {
'Default org unit for catalog holds org unit selector',
'cwst', 'label'
)
+), (
+ 'eg.orgselect.patron.search', 'gui', 'integer',
+ oils_i18n_gettext(
+ 'eg.orgselect.patron.search',
+ 'Default org unit for patron search',
+ 'cwst', 'label'
+ )
);
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+ 'eg.orgselect.patron.search', 'gui', 'integer',
+ oils_i18n_gettext(
+ 'eg.orgselect.patron.search',
+ 'Default org unit for patron search',
+ 'cwst', 'label'
+ )
+);
+
+COMMIT;
+
+