Page 1 of 2
Search By Extra Tags script no longer working
Posted: 09 Jan 2024 13:58
by zmachine01
I frequently use the script for searching by extra tags. For the last few releases, it hasn't been working. For instance searching for the number 316
:ex1:*316* OR ex2:*316* OR ex3:*316* OR ex4:*316* OR ex5:*316* OR ex9:*316* OR cmt:*316* /t
Nothing is returned although I have many files with it in the extra tags
Re: Search By Extra Tags script no longer working
Posted: 10 Jan 2024 10:03
by admin
What's the type of these columns (Number, Text...) and is 316 the entire content or just part of it?
Re: Search By Extra Tags script no longer working
Posted: 10 Jan 2024 13:49
by zmachine01
The columns are Extra Columns One through Four and also the Comment Column. They are configured as both Text and Pop-Up List types. "316" is not in the pop-up list but in the past that hasn't mattered and besides, items that are in the pop-up list, like "303" and "UHMW", still aren't found with the script. I also use the Comment column a lot and I use the script to search for files that I know have bits in the Comment column. That has always worked up until recently.
Re: Search By Extra Tags script no longer working
Posted: 10 Jan 2024 13:55
by highend
Why don't you show a screenshot with all those 4 extra columns + custom columns that CONTAIN data so that we don't have to guess what's happening on your side?
Re: Search By Extra Tags script no longer working
Posted: 10 Jan 2024 14:46
by zmachine01
Re: Search By Extra Tags script no longer working
Posted: 10 Jan 2024 15:23
by highend
It fails since v25.20.0107
The versions before are fine...
Re: Search By Extra Tags script no longer working
Posted: 10 Jan 2024 15:56
by admin
Confirmed, it looks strange, but that's just an error in the "Parsed:" line, which is just made for debugging (fix comes). It does not explain the issue of the user (which I still don't fully understand for lack of information).
Re: Search By Extra Tags script no longer working
Posted: 10 Jan 2024 16:07
by highend
Look at my edited post

Re: Search By Extra Tags script no longer working
Posted: 10 Jan 2024 16:41
by zmachine01
I initially thought it might have something to do with our network at work, because it has been sluggish in returning results for the last few years. But it also is not working on the local drives and is also not working on my local drive on my computer at home
Re: Search By Extra Tags script no longer working
Posted: 10 Jan 2024 16:45
by admin
highend wrote: ↑10 Jan 2024 16:07
Look at my edited post
Yep, that helped. Fix comes.
Re: Search By Extra Tags script no longer working
Posted: 10 Jan 2024 20:12
by admin
So, does it work now?
Re: Search By Extra Tags script no longer working
Posted: 10 Jan 2024 20:36
by highend
On a very short tag sample, yes works...
The query check looks fine now, too:
Code: Select all
Query: :ex1:*316* OR ex2:*316* /t /?
Parsed: Extra1:*316* OR Extra2:*316*
Re: Search By Extra Tags script no longer working
Posted: 11 Jan 2024 14:28
by admin
admin wrote: ↑10 Jan 2024 20:12
So, does it work now?
zmachine01?
Re: Search By Extra Tags script no longer working
Posted: 11 Jan 2024 17:15
by zmachine01
I replaced the word "ex" with the word "Extra" in the script and it did not work. But I apologize I didn't originally display the exact script that I'm using. It's:
$q = "*" . input() . "*"; goto "*?:ex1:$q OR ex2:$q OR ex3:$q OR ex4:$q OR ex5:$q OR ex9:$q OR cmt:$q /t";
Re: Search By Extra Tags script no longer working
Posted: 11 Jan 2024 17:57
by admin
Assuming you are using the latest beta:
1) Simplify your query to isolate the problem.
2) Append /? (as shown here:
viewtopic.php?p=217249#p217249) and post the parsed term.
3) Answer my question here:
viewtopic.php?p=217223#p217223