Skip to content

collection, views: Implement item filtering on the model

Felipe Borges requested to merge implement-model-filtering into main

Using a model is incompatible with the filtering and sorting functions in GtkListBox and GtkFlowBox. When using a model, filtering and sorting should be implemented by the model.

The Collection object now has an internal "items" GListStore that reflects the list of boxes available, and a "filtered_items" GListStore, which contains only the items we should display to the user (filtered by search terms).

Merge request reports