mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add a function to count dives with a specific suit
Checking against the location field probably wasn't the best way to do this... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
01cd09c77a
commit
dae76cdc2d
3 changed files with 16 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ CREATE_DATA_METHOD( CLASS, COUNTER_FUNCTION )
|
|||
CREATE_COMMON_METHODS_FOR_FILTER(TagFilterModel, count_dives_with_tag);
|
||||
CREATE_COMMON_METHODS_FOR_FILTER(BuddyFilterModel, count_dives_with_person);
|
||||
CREATE_COMMON_METHODS_FOR_FILTER(LocationFilterModel, count_dives_with_location);
|
||||
CREATE_COMMON_METHODS_FOR_FILTER(SuitsFilterModel, count_dives_with_location);
|
||||
CREATE_COMMON_METHODS_FOR_FILTER(SuitsFilterModel, count_dives_with_suit);
|
||||
|
||||
CREATE_INSTANCE_METHOD(MultiFilterSortModel);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue