From ab57396fcf77bfefee2a16ddac0025fcdb28670f Mon Sep 17 00:00:00 2001 From: jaredevantabor Date: Mon, 6 Feb 2017 10:53:42 -0800 Subject: [PATCH] Generalizing error message when user inputs an invalid search --- awx/ui/client/src/shared/smart-search/queryset.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/shared/smart-search/queryset.service.js b/awx/ui/client/src/shared/smart-search/queryset.service.js index 869d4e57a0..10ae7ef3c8 100644 --- a/awx/ui/client/src/shared/smart-search/queryset.service.js +++ b/awx/ui/client/src/shared/smart-search/queryset.service.js @@ -270,7 +270,7 @@ export default ['$q', 'Rest', 'ProcessErrors', '$rootScope', 'Wait', 'DjangoSear error(data, status) { ProcessErrors($rootScope, null, status, null, { hdr: 'Error!', - msg: 'Call to ' + this.url + '. GET returned: ' + status + msg: "Invalid search term entered." }); } };