fix new edit form query

This commit is contained in:
j 2020-01-30 12:33:02 +01:00
parent 0f889f927d
commit 66f9a51769

View file

@ -48,7 +48,7 @@ pandora.addFolderItem = function(section) {
); );
} }
} else { } else {
data.query = isItems ? ui.find : ui.findDocuments; data.query = section == 'documents' ? ui.findDocuments : ui.find;
} }
} }
if (ui.section == 'items' && section == 'edits') { if (ui.section == 'items' && section == 'edits') {