Categories numbers (x / y) not correct (IMatch 2021.16.2)

Started by axel.hennig, June 05, 2022, 10:14:14 PM

Previous topic - Next topic

axel.hennig

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.

Mario

Confirmed. An unexpected side effect of some code refactoring. Stupid me!
Fixed for the next release.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher

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?

Mario

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.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

axel.hennig

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.

ubacher

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.

Mario

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook