Page 1 of 1

custom columns not matching each other with operator =

Posted: Mon Mar 04, 2024 5:50 am
by anmac1789
There is another problem with everything v1370a (x64). I have this syntax for 3 picture files and it's duplicates:
name:"20200229_065437";"20200229_151914";"20200302_001415" column1:=hour($dm:) column2:=hour($date-taken:)

then when I try to find duplicates between column1 and column2, it seems as if everything is 'copying' column2 values into column1

Screenshot 2024-03-04 004847.png
Screenshot 2024-03-04 004847.png (61.9 KiB) Viewed 489 times
Screenshot 2024-03-04 004855.png
Screenshot 2024-03-04 004855.png (62.36 KiB) Viewed 489 times

Re: custom columns not matching each other with operator =

Posted: Mon Mar 04, 2024 10:03 am
by void
Thank you for the issue report anmac1789,



column1:==column2: has never worked.
I will have this fixed in the next alpha update.



For now, please use:
hour($dm:)==hour($date-taken:)



= is assignment.
== is comparison.

Re: custom columns not matching each other with operator =

Posted: Mon Mar 04, 2024 4:37 pm
by anmac1789
void wrote: Mon Mar 04, 2024 10:03 am Thank you for the issue report anmac1789,



column1:==column2: has never worked.
I will have this fixed in the next alpha update.



For now, please use:
hour($dm:)==hour($date-taken:)



= is assignment.
== is comparison.

Thank you i hope the next update arrives soon

Re: custom columns not matching each other with operator =

Posted: Thu Apr 18, 2024 8:09 am
by void
Everything 1.5.0.1372a adds support for $column1:==$column2:

Re: custom columns not matching each other with operator =

Posted: Thu Apr 18, 2024 6:39 pm
by anmac1789
void wrote: Thu Apr 18, 2024 8:09 am Everything 1.5.0.1372a adds support for $column1:==$column2
What does the $ and double = mean ?

Re: custom columns not matching each other with operator =

Posted: Fri Apr 19, 2024 12:29 am
by void
Sorry, I had in my notes both $column1:==$column2: and column1:==column2: have been fixed.



Both of the following will now work:

column1:==column2:
$column1:==$column2:



Everything uses formulas when using $property-name:



With formulas you can do more complex operations.
For example:
$column1:/1000==$column2:/1000



== means comparison
= means assignment

Re: custom columns not matching each other with operator =

Posted: Fri Apr 19, 2024 7:24 am
by anmac1789
ahh ok...interesting. Thanks for clarifying