Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
<!ENTITY sidebar.relevantReviews.headerLabel "Reviews">
<!ENTITY sidebar.quick.search "Quick Search">
<!ENTITY sidebar.copy.not.found "No copy with the requested barcode was found">
+<!ENTITY sidebar.copy.not.cataloged "The copy with the requested barcode is not cataloged">
<!-- =================================================================
Search formats
return;
}
if(!title_ids) return;
+ if (title_ids[0] == -1) { // pre-cat record
+ alertId('myopac.copy.not.cataloged');
+ return;
+ }
+
var args = {};
if (title_ids.length == 1) {
args.page = RDETAIL;
</div>
<span class='hide_me' id='myopac.copy.not.found'>&sidebar.copy.not.found;</span>
+ <span class='hide_me' id='myopac.copy.not.cataloged'>&sidebar.copy.not.cataloged;</span>
<div style='margin-top: 8px;' class='adv_quick_search_submit'>
<a id='adv_quick_submit' href='javascript:advGenericSearch();' class='classic_link'>&common.submit;</a>
</div>