photools.com Community

IMatch Bug Reports and Feature Requests => Bug Reports => Solved Bug Reports (for next version) => Topic started by: axel.hennig on June 05, 2022, 10:14:14 PM

Title: Categories numbers (x / y) not correct (IMatch 2021.16.2)
Post by: axel.hennig on June 05, 2022, 10:14:14 PM
Starting from the current IMatch version 2021.16.2 the categories numbers does not seem to be correct any more.

How to reproduce:
(1) Make the following category-tree (see also attachement)
Top
    Sub
        Sub-sub
(2) Make category "Sub": Direct assignments only -> yes
(3) Assign one image to "Top" and two images to "Sub-sub"
(4) "Top" should show: "(1 / 3)" but it shows "(1 / 1)"
(5) If category "Sub" has: Direct assignments only -> no. Then "Top" shows "(1 / 3)"

I'm pretty sure that this behaviour changed with this IMatch release.
Title: Re: Categories numbers (x / y) not correct (IMatch 2021.16.2)
Post by: Mario on June 06, 2022, 11:22:53 AM
Confirmed. An unexpected side effect of some code refactoring. Stupid me!
Fixed for the next release.
Title: Re: Categories numbers (x / y) not correct (IMatch 2021.16.2)
Post by: ubacher on June 07, 2022, 07:12:07 AM
I have some problems when filtering categories. Some files, which should be
filtered out, are not. I am using this filter preset for years now!
Could this "refactoring" be the cause? Should I just wait for the new version?
Title: Re: Categories numbers (x / y) not correct (IMatch 2021.16.2)
Post by: Mario on June 07, 2022, 09:27:43 AM
It would help if you would explain which filter you apply and of what nature the problem is.

The error reported here and fix is only related to categories which use the direct assignments only option.
Title: Re: Categories numbers (x / y) not correct (IMatch 2021.16.2)
Post by: axel.hennig on June 07, 2022, 01:03:47 PM
Quote from: Mario on June 06, 2022, 11:22:53 AM
Confirmed. An unexpected side effect of some code refactoring. Stupid me!
Fixed for the next release.

Perfect, thanks.
Title: Re: Categories numbers (x / y) not correct (IMatch 2021.16.2)
Post by: ubacher on June 09, 2022, 10:07:31 AM
My problem with the category filtering has disappeared with the
installation of the new version. But since it had disappeared before
on a different db I assume it was not the version which made the difference but the new installation.
Title: Re: Categories numbers (x / y) not correct (IMatch 2021.16.2)
Post by: Mario on June 09, 2022, 11:19:40 AM
Good news, then.