SOLR-8715: Admin UI - Fix schema special case

This commit is contained in:
Alexandre Rafalovitch 2016-08-13 00:10:35 +10:00
parent f20e2f3a94
commit cea8a488f0
2 changed files with 6 additions and 0 deletions

View File

@ -208,6 +208,8 @@ Bug Fixes
* SOLR-9232: Admin UI now fully implements Swap Cores interface (Alexandre Rafalovitch)
* SOLR-8715: Admin UI's Schema screen now works for fields with stored=false and some content indexed (Alexandre Rafalovitch)
Optimizations
----------------------

View File

@ -477,6 +477,10 @@ var getFieldProperties = function(data, core, is, field) {
var row = display.rows[i];
row.cells = [];
if (!row.flags) {
continue; // Match the special case in the LukeRequestHandler
}
for (var j in display.columns) {
var flag = display.columns[j].key;
row.cells.push({key: flag, value: row.flags.indexOf(flag)>=0});