From cc4612620e003f62b68afd6d1eb36214ebe64aef Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 9 Aug 2006 03:56:39 +0000 Subject: [PATCH] wording for patron search results git-svn-id: svn://svn.open-ils.org/ILS/trunk@5397 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/search_result.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/search_result.js b/Open-ILS/xul/staff_client/server/patron/search_result.js index eec6908600..c5eb6f2403 100644 --- a/Open-ILS/xul/staff_client/server/patron/search_result.js +++ b/Open-ILS/xul/staff_client/server/patron/search_result.js @@ -147,10 +147,12 @@ patron.search_result.prototype = { if (obj.search_term_count > 0) { results = this.network.simple_request( 'FM_AU_IDS_RETRIEVE_VIA_HASH', params ); if ( (results == null) || (typeof results.ilsevent != 'undefined') ) throw(results); - } - - if (results.length == 0) { - alert('No hits found.'); + if (results.length == 0) { + alert('No patrons found matching search criteria.'); + return; + } + } else { + alert('Please enter some search terms.'); return; } -- 2.11.0