* Default to ISBN search in the identifier query form.
* Remove the disabled "call number browse" entry from the identifier
query type selector, since CN browse now has a dedicated tab.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
[(ngModel)]="context.identSearch.queryType">
<option i18n value="identifier|isbn">ISBN</option>
<option i18n value="identifier|issn">ISSN</option>
- <option i18n disabled value="cnbrowse">Call Number (Shelf Browse)</option>
<option i18n value="identifier|lccn">LCCN</option>
<option i18n value="identifier|tcn">TCN</option>
<option i18n value="item_barcode">Item Barcode</option>
// Avoid changing the tab in the lifecycle hook thread.
setTimeout(() => {
+ if (this.context.identSearch.queryType === '') {
+ this.context.identSearch.queryType = 'identifier|isbn';
+ }
+
// Apply a tab if none was already specified
if (!this.searchTab) {
// Assumes that only one type of search will be searchable