From 2ebf6243ca9af2315b389f8357ec229b041350ed Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Thu, 5 Apr 2012 19:31:41 +0000 Subject: [PATCH] SOLR-3238: Admin UI -- link the doc count to a query showing matching docs (field:[* TO *]) git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1310027 13f79535-47bb-0310-9956-ffa450edef68 --- solr/webapp/web/js/scripts/schema-browser.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/solr/webapp/web/js/scripts/schema-browser.js b/solr/webapp/web/js/scripts/schema-browser.js index 032e2315759..a63f0be4c43 100644 --- a/solr/webapp/web/js/scripts/schema-browser.js +++ b/solr/webapp/web/js/scripts/schema-browser.js @@ -833,9 +833,13 @@ sammy.get $( 'dd.docs', options_element ) .remove(); + var target = '#/' + current_core + '/query?q=' + field.esc() + ':[* TO *]'; docs_element .show() - .after( '
' + schema_browser_data.fields[field].docs + '
' ); + .after( + '
'+ + '' + schema_browser_data.fields[field].docs + '' + + '
' ); } else {