Search By Extra Tags script no longer working

Things you’d like to miss in the future...
zmachine01
Posts: 41
Joined: 16 Mar 2018 17:20

Search By Extra Tags script no longer working

Post 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

admin
Site Admin
Posts: 60635
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Search By Extra Tags script no longer working

Post by admin »

What's the type of these columns (Number, Text...) and is 316 the entire content or just part of it?

zmachine01
Posts: 41
Joined: 16 Mar 2018 17:20

Re: Search By Extra Tags script no longer working

Post 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.

highend
Posts: 13338
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Search By Extra Tags script no longer working

Post 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?
One of my scripts helped you out? Please donate via Paypal

zmachine01
Posts: 41
Joined: 16 Mar 2018 17:20

Re: Search By Extra Tags script no longer working

Post by zmachine01 »

Untitled.png
Untitled.png (165.12 KiB) Viewed 462 times

highend
Posts: 13338
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Search By Extra Tags script no longer working

Post by highend »

It fails since v25.20.0107
The versions before are fine...
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60635
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Search By Extra Tags script no longer working

Post 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).

highend
Posts: 13338
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Search By Extra Tags script no longer working

Post by highend »

Look at my edited post :)
One of my scripts helped you out? Please donate via Paypal

zmachine01
Posts: 41
Joined: 16 Mar 2018 17:20

Re: Search By Extra Tags script no longer working

Post 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

admin
Site Admin
Posts: 60635
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Search By Extra Tags script no longer working

Post by admin »

highend wrote: 10 Jan 2024 16:07 Look at my edited post :)
Yep, that helped. Fix comes.

admin
Site Admin
Posts: 60635
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Search By Extra Tags script no longer working

Post by admin »

So, does it work now?

highend
Posts: 13338
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Search By Extra Tags script no longer working

Post 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*
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60635
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Search By Extra Tags script no longer working

Post by admin »

admin wrote: 10 Jan 2024 20:12 So, does it work now?
zmachine01?

zmachine01
Posts: 41
Joined: 16 Mar 2018 17:20

Re: Search By Extra Tags script no longer working

Post 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";

admin
Site Admin
Posts: 60635
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Search By Extra Tags script no longer working

Post 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

Post Reply