custom columns not matching each other with operator =

Discussion related to "Everything" 1.5 Alpha.
Post Reply
anmac1789
Posts: 667
Joined: Mon Aug 24, 2020 1:16 pm

custom columns not matching each other with operator =

Post 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 1294 times
Screenshot 2024-03-04 004855.png
Screenshot 2024-03-04 004855.png (62.36 KiB) Viewed 1294 times
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: custom columns not matching each other with operator =

Post 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.
anmac1789
Posts: 667
Joined: Mon Aug 24, 2020 1:16 pm

Re: custom columns not matching each other with operator =

Post 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
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: custom columns not matching each other with operator =

Post by void »

Everything 1.5.0.1372a adds support for $column1:==$column2:
anmac1789
Posts: 667
Joined: Mon Aug 24, 2020 1:16 pm

Re: custom columns not matching each other with operator =

Post 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 ?
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: custom columns not matching each other with operator =

Post 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
anmac1789
Posts: 667
Joined: Mon Aug 24, 2020 1:16 pm

Re: custom columns not matching each other with operator =

Post by anmac1789 »

ahh ok...interesting. Thanks for clarifying
Post Reply