[korganizer] [Bug 484040] Filters don't work

Daniel Vrátil bugzilla_noreply at kde.org
Mon Mar 25 08:02:08 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=484040

--- Comment #3 from Daniel Vrátil <dvratil at kde.org> ---
Git commit fd6d6bd3d7c24b95a8d91b0233ada61a08658738 by Daniel Vrátil.
Committed on 22/03/2024 at 14:22.
Pushed by dvratil into branch 'release/24.02'.

Apply current view filter on the Todo model as well

Previously the Todo model was derived from ETMCalendar, which internally
had a CalFilterProxyModel to filter out incidences based on a CalFilter.
Nowadays we are building right on top of an ETM, so we need to apply the
filter manually.

It's a little hacky solution, but it is achieved by taking the current
filter from one of the active calendars and manually filtering each
Todo through it in the TodoViewSortFilterProxyModel.
FIXED-IN: 24.02.3

M  +9    -1    src/todo/todoview.cpp
M  +23   -2    src/todo/todoviewsortfilterproxymodel.cpp
M  +12   -0    src/todo/todoviewsortfilterproxymodel.h

https://invent.kde.org/pim/eventviews/-/commit/fd6d6bd3d7c24b95a8d91b0233ada61a08658738

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list