Quicksearch doesn't work in a custom column?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Quicksearch doesn't work in a custom column?

Post by highend »

Unsure if it's a bug or by design (because it can block XY)...

- Go into a folder that contains at least one subfolder with one file in it
- Create a custom column
- Make sure that "Item type" is set to "Folders" or "Files and Folders"
- Use a one-liner script

Code: Select all

return quicksearch("/nf", <cc_item>, "|");
It should return the file inside that subfolder or a "|" separated list if there is more than one file

But it doesn't return anything. So, is it by design that quicksearch won't work in a custom column?
One of my scripts helped you out? Please donate via Paypal

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Quicksearch doesn't work in a custom column?

Post by bdeshi »

Does not work at all as "Browse" trigger.
Works after a manual refresh with "List". (Not visible initially when navigating to a folder.)
Works on press with "Click".
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: Quicksearch doesn't work in a custom column?

Post by admin »

SC quicksearch() is a non-GUI search. Trying to embed it into the GUI within a custom column is looking for trouble.

Anyway, I think I could make it work experimentally :ninja: (all triggers). Next beta...

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

Re: Quicksearch doesn't work in a custom column?

Post by highend »

Ah, ok, thanks. Didn't see I got replies in this thread *sigh*

I will do some tests with larger folder structures to see if XY chokes on it...
One of my scripts helped you out? Please donate via Paypal

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

Re: Quicksearch doesn't work in a custom column?

Post by admin »

You surely will make XY sweat with this column...

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

Re: Quicksearch doesn't work in a custom column?

Post by highend »

Works fine so far (e.g. with testfolders that have 50k entries) :)
One of my scripts helped you out? Please donate via Paypal

Post Reply