You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by st...@apache.org on 2013/06/23 17:01:00 UTC
svn commit: r1495826 - in /lucene/dev/trunk/solr: CHANGES.txt
webapp/web/js/scripts/analysis.js
Author: steffkes
Date: Sun Jun 23 15:00:59 2013
New Revision: 1495826
URL: http://svn.apache.org/r1495826
Log:
SOLR-4611: Admin UI - Analysis-Urls with empty parameters create empty result table
Modified:
lucene/dev/trunk/solr/CHANGES.txt
lucene/dev/trunk/solr/webapp/web/js/scripts/analysis.js
Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1495826&r1=1495825&r2=1495826&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Sun Jun 23 15:00:59 2013
@@ -202,6 +202,9 @@ Optimizations
* SOLR-4719 : Admin UI - Default to wt=json on Query-Screen (steffkes)
+* SOLR-4611: Admin UI - Analysis-Urls with empty parameters create empty result table
+ (steffkes)
+
Other Changes
----------------------
Modified: lucene/dev/trunk/solr/webapp/web/js/scripts/analysis.js
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/js/scripts/analysis.js?rev=1495826&r1=1495825&r2=1495826&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/js/scripts/analysis.js (original)
+++ lucene/dev/trunk/solr/webapp/web/js/scripts/analysis.js Sun Jun 23 15:00:59 2013
@@ -125,7 +125,7 @@ sammy.get
var fields = 0;
for( var key in context.params )
{
- if( 'string' === typeof context.params[key] )
+ if( 'string' === typeof context.params[key] && 0 !== context.params[key].length )
{
fields++;
$( '[name="' + key + '"]', analysis_form )