subsurface/qt-models
Berthold Stoeger 935fb3c3df Fix BuddyFilterModel
Commit 6343515fed introduced equality
instead of substring comparison for filters. This broke the buddy
filter in the case of more than one buddy, because in such a case
the buddy list is a comma-separated string.

Fix this by splitting the buddy string, trimming the individual
strings and search in the list.

Fixes #969

Reported-by: <yrevawerd@gmail.com>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2017-12-21 21:09:35 +01:00
..
cleanertablemodel.cpp
cleanertablemodel.h
CMakeLists.txt Remove unused divesitepicturemodel from qt-models 2017-12-13 05:48:20 -08:00
completionmodels.cpp
completionmodels.h
cylindermodel.cpp Prevent redundant replanning 2017-12-01 15:47:51 -08:00
cylindermodel.h
divecomputerextradatamodel.cpp
divecomputerextradatamodel.h
divecomputermodel.cpp
divecomputermodel.h
diveimportedmodel.cpp
diveimportedmodel.h
divelistmodel.cpp mobile: stay on same dive after edit 2017-12-14 08:53:06 -08:00
divelistmodel.h
divelocationmodel.cpp Use better aliases for icons. 2017-11-30 23:14:46 -08:00
divelocationmodel.h Remove unused method LocationInformationModel::addDiveSite() 2017-11-26 23:37:01 +01:00
divepicturemodel.cpp Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
divepicturemodel.h Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
diveplannermodel.cpp Cleanup: mark parameter as potentially unused 2017-12-08 16:29:49 +01:00
diveplannermodel.h Actually compute variations in background 2017-12-01 15:47:51 -08:00
diveplotdatamodel.cpp Hand planner variables to profile 2017-11-25 20:13:01 +01:00
diveplotdatamodel.h
divetripmodel.cpp Use better aliases for icons. 2017-11-30 23:14:46 -08:00
divetripmodel.h
filtermodels.cpp Fix BuddyFilterModel 2017-12-21 21:09:35 +01:00
filtermodels.h Inform LocationFilterModel of added dive site name 2017-11-26 18:50:40 -08:00
gpslistmodel.cpp
gpslistmodel.h
maplocationmodel.cpp
maplocationmodel.h
messagehandlermodel.cpp
messagehandlermodel.h
models.cpp Use better aliases for icons. 2017-11-30 23:14:46 -08:00
models.h
ssrfsortfilterproxymodel.cpp
ssrfsortfilterproxymodel.h
tankinfomodel.cpp
tankinfomodel.h
treemodel.cpp
treemodel.h
weightmodel.cpp
weightmodel.h
weigthsysteminfomodel.cpp
weigthsysteminfomodel.h
yearlystatisticsmodel.cpp
yearlystatisticsmodel.h