mirror of https://github.com/apache/lucene.git
SOLR-4371: Admin UI - Analysis Screen shows empty result
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456521 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
412a233f5b
commit
07dd466743
|
@ -87,6 +87,8 @@ Bug Fixes
|
||||||
* SOLR-4543: setting shardHandlerFactory in solr.xml/solr.properties does not work.
|
* SOLR-4543: setting shardHandlerFactory in solr.xml/solr.properties does not work.
|
||||||
(Ryan Ernst, Robert Muir via Erick Ericson)
|
(Ryan Ernst, Robert Muir via Erick Ericson)
|
||||||
|
|
||||||
|
* SOLR-4371: Admin UI - Analysis Screen shows empty result (steffkes)
|
||||||
|
|
||||||
Other Changes
|
Other Changes
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -247,9 +247,12 @@ sammy.get
|
||||||
'submit',
|
'submit',
|
||||||
function( event )
|
function( event )
|
||||||
{
|
{
|
||||||
var params = compute_analysis_params();
|
var params = $.param( compute_analysis_params() )
|
||||||
|
.replace( /[\w\.]+=\+*(&)/g, '$1' ) // remove empty parameters
|
||||||
|
.replace( /(&)+/, '$1' ) // reduce multiple ampersands
|
||||||
|
.replace( /^&/, '' ); // remove leading ampersand
|
||||||
|
|
||||||
context.redirect( context.path.split( '?' ).shift() + '?' + $.param( params ) );
|
context.redirect( context.path.split( '?' ).shift() + '?' + params );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue