Hi guys,
I see that some UiCommon models, such as VmListModel, already have
override for SearchableListModel.supportsServerSideSorting method.
In general, any SearchableListModel subclass should contain:
@Override
public boolean supportsServerSideSorting() { return true; }
if, and only if, its syncSearch method uses VdcQueryType.Search
(Search query). This applies to all SearchableListModel subclasses,
i.e. both main tab & sub tab list models.
Due to current class inheritance where sub tab list models (like
ClusterVmListModel) extend main tab list models (like VmListModel),
please make sure to check following scenario:
- main tab model uses Search query, supportsServerSideSorting=true
- sub tab model does NOT use search query --> must provide override
supportsServerSideSorting=false
Thanks,
Vojtech
Show replies by date