mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
Refs #204 Контроль уникальности имени фильтра
This commit is contained in:
parent
13177cbda5
commit
74def602a1
@ -364,7 +364,8 @@ public class WebFilter
|
||||
|
||||
List<String> names = new ArrayList<String>();
|
||||
for (Object id : select.getItemIds()) {
|
||||
names.add(((FilterEntity) id).getName());
|
||||
if (id != filterEntity)
|
||||
names.add(((FilterEntity) id).getName());
|
||||
}
|
||||
|
||||
final FilterEditor editor = new FilterEditor(this, filterEntity, getXmlDescriptor(), names);
|
||||
|
Loading…
Reference in New Issue
Block a user