Improved searching API to have primary and secondary filters

This commit is contained in:
Chicken-Bones committed 2014-12-26 12:39:37 +10:00
1 parent 35841ebe9b
commit a1879a9654
3 files changed
+42 -13

No files matched your search

+5
View File
@@ -701,6 +701,11 @@ public class SubsetWidget extends Button implements ItemFilterProvider, ItemsLoa
};
}
@Override
public boolean isPrimary() {
return true;
}
@Override
public ItemFilter getFilter(String searchText) {
if(!searchText.startsWith("@"))