Author Topic: Using variables in the search panel  (Read 1860 times)

Offline Dom Dartois

  • Newcomer
  • *
  • Posts: 1
    • View Profile
Using variables in the search panel
« on: November 18, 2021, 11:29:12 PM »
Hello.

There is no searchable field for a file extension, so I tried to use the search tab with such requests :
{filename:-3,3}  is not ‘jpg’
{type} is not  'JPEG'

It doesn’t seem working. I understand I can’t use a variable in this context. Is that right?

Dominique

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Using variables in the search panel
« Reply #1 on: November 19, 2021, 09:34:10 AM »
Dominique,

There is no searchable field for a file extension, so I tried to use the search tab with such requests :
{filename:-3,3}  is not ‘jpg’
{type} is not  'JPEG'

It doesn’t seem working. I understand I can’t use a variable in this context. Is that right?

That's correct.

Try:

filetype is not JPEG


Have a look at the list of Searchable Fields.  Catalog->Searchable Fields...

HTH,

-Kirk