mirror of https://github.com/apache/lucene.git
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
This commit is contained in:
parent
33787e952c
commit
2ebf6243ca
|
@ -833,9 +833,13 @@ sammy.get
|
|||
$( 'dd.docs', options_element )
|
||||
.remove();
|
||||
|
||||
var target = '#/' + current_core + '/query?q=' + field.esc() + ':[* TO *]';
|
||||
docs_element
|
||||
.show()
|
||||
.after( '<dd class="docs">' + schema_browser_data.fields[field].docs + '</dd>' );
|
||||
.after(
|
||||
'<dd class="docs">'+
|
||||
'<a href="'+target+'">' + schema_browser_data.fields[field].docs + '</a>' +
|
||||
'</dd>' );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue