From: Mike Rylander Date: Thu, 24 Oct 2013 20:10:00 +0000 (-0400) Subject: Make sure that # can be used in auth browse X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6ce3e4bb3fec20de325ff79a1f2903d261249d01;p=evergreen%2Fequinox.git 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 --- 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 ;