From c574a91e3b3b64fd1cb61b0463f3019689f4f4a5 Mon Sep 17 00:00:00 2001 From: Chris Hostetter Date: Tue, 19 Apr 2016 11:17:10 -0700 Subject: [PATCH] SOLR-8990: Fix top term links from schema browser page to use {!term} parser --- solr/CHANGES.txt | 2 ++ solr/webapp/web/js/angular/app.js | 3 +++ solr/webapp/web/partials/schema.html | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index d4806cf5fd1..14617ebe50c 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -137,6 +137,8 @@ Bug Fixes * SOLR-8983: Cleanup clusterstate and replicas for a failed create collection request (Varun Thacker, Anshum Gupta) +* SOLR-8990: Fix top term links from schema browser page to use {!term} parser (hossman) + Optimizations ---------------------- * SOLR-8722: Don't force a full ZkStateReader refresh on every Overseer operation. diff --git a/solr/webapp/web/js/angular/app.js b/solr/webapp/web/js/angular/app.js index c67115cbc5e..8a1fe26c593 100644 --- a/solr/webapp/web/js/angular/app.js +++ b/solr/webapp/web/js/angular/app.js @@ -143,6 +143,9 @@ solrAdminApp.config([ IS_COLLECTION_PAGE: 3, ROOT_URL: "/" }) +.filter('uriencode', function() { + return window.encodeURIComponent; +}) .filter('highlight', function($sce) { return function(input, lang) { if (lang && input && lang!="text") return hljs.highlight(lang, input).value; diff --git a/solr/webapp/web/partials/schema.html b/solr/webapp/web/partials/schema.html index b91a92c1def..ca626fd74c1 100644 --- a/solr/webapp/web/partials/schema.html +++ b/solr/webapp/web/partials/schema.html @@ -315,7 +315,7 @@ limitations under the License.
  • {{countGroup.count}}