From 6ce3e4bb3fec20de325ff79a1f2903d261249d01 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Thu, 24 Oct 2013 16:10:00 -0400 Subject: [PATCH] Make sure that # can be used in auth browse Because we use URLs to call the SuperCat browse API, we need to be more careful about encoding parameters. #, in particular, breaks auth browse because it's seen as a URL fragment separator by the browser and web server. Signed-off-by: Mike Rylander Signed-off-by: Yamil Suarez Signed-off-by: Mike Rylander --- Open-ILS/web/js/ui/default/cat/authority/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/cat/authority/list.js b/Open-ILS/web/js/ui/default/cat/authority/list.js index 2bd19bff49..4c42b90b4d 100644 --- a/Open-ILS/web/js/ui/default/cat/authority/list.js +++ b/Open-ILS/web/js/ui/default/cat/authority/list.js @@ -379,7 +379,7 @@ function displayRecords(parms) { + dijit.byId('authAxis').attr('value') // + '/' + dijit.byId('authOU').attr('value') + '/1' // replace with preceding line if OUs gain some meaning - + '/' + dijit.byId('authTerm').attr('value') + + '/' + encodeURIComponent(dijit.byId('authTerm').attr('value')) + '/' + dijit.byId('authPage').attr('value') + '/' + '20' // 20 results per page ; -- 2.43.2