allusion-app / Allusion

A free and open source desktop application for managing your visual library
GNU General Public License v3.0
679 stars 44 forks source link

Some search queries need different functions or methods #93

Open schroef opened 4 years ago

schroef commented 4 years ago

I see that when using date as search query it has wrong function method. Should date show something before and after?

I think current ones are a bit confusing in this context. But i just noticed Adobe Bridge, for instance, uses this same principle. Should we keep this method or think of more meaning methods?

Screen Shot 2019-10-05 at 12 12 00
schroef commented 4 years ago

I guess we could perhaps use before for parts like smaller and after for greater. More for dummies perhaps :)

RvanderLaan commented 4 years ago

Yeah, that would be a nice touch, we can just change the labels. Dates are essentially just numbers for a computer so I used the same operators as for numbers

schroef commented 4 years ago

I think it would more sense and its more meanful in this context. First i had also issue with the date and understanding how it works. Some how i could find a specific image from a specific date. I did notice it was MM/DD/YYYY, but somehow it didnt show. After lots of trying i did get it to show. Ill check it again and see if it happens again.

schroef commented 4 years ago

I see this is closed and it still shows "Smaller than" or "Smaller than or Equals", Is this because other why you would need to add same function for this. Cant those fields have the same function yet give different name. I mean ther function basically check what the dropdown field is right. Cant that be referenced by a number. So first is 0 and then each other item adds a number. That way the naming can be different but the function in the backend is still the same.