mirror of https://github.com/apache/lucene.git
SOLR-11296: Spellcheck parameters not working in new UI
This commit is contained in:
parent
04e05782a3
commit
62edbf2e7d
|
@ -175,6 +175,8 @@ Bug Fixes
|
|||
|
||||
* SOLR-13066: A failure while reloading a SolrCore can result in the SolrCore not being closed. (Mark Miller)
|
||||
|
||||
* SOLR-11296: Spellcheck parameters not working in new UI (Matt Pearce via janhoy)
|
||||
|
||||
Improvements
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -43,7 +43,8 @@ solrAdminApp.controller('QueryController',
|
|||
var copy = function(params, query) {
|
||||
for (var key in query) {
|
||||
terms = query[key];
|
||||
if (terms.length > 0 && key[0]!="$") {
|
||||
// Booleans have no length property - only set them if true
|
||||
if (((typeof(terms) == typeof(true) && terms) || terms.length > 0) && key[0]!="$") {
|
||||
set(key, terms);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue