Find Files not working on Custom Column
-
RustedArmor
- Posts: 3
- Joined: 26 Jul 2023 02:31
Find Files not working on Custom Column
I'm using version 24.70 and have a custom column defined with a script to pull a file's tags from an associated text file (I have a few 100k files and am over the tag DB limit). The help file seems to indicate I can use the regular Find Files search on the custom column even when they are not visible, but while the Live Filter and Find Files features work for files in the current folder, they do not work to search subfolders. Is this expected behavior or a bug? Thank you for any help!
-
highend
- Posts: 14925
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Find Files not working on Custom Column
Can't reproduce that issue with 24.70
One of my scripts helped you out? Please donate via Paypal
-
RustedArmor
- Posts: 3
- Joined: 26 Jul 2023 02:31
Re: Find Files not working on Custom Column
Thanks for looking into this. So Find Files should be working to search the custom columns of subfolders? My custom column is defined as:
Caption:ctag
Type:Script
Script:return readfile("<cc_base>.txt");
Format:Text
Trigger:Browse
Item type:Files
Item filter:jpg
If I have an image file 100.jpg it will have tags in a single line file 100.txt (contents for example: "car blurry outdoors") in the same folder. If I use the search/filter term:
ctag:*blurry*
I can filter on the custom column with the live filter.
I can also use the Find Files / Name & Location / Name field to search based on the custom column in the current directory
I cannot find files in subfolders (with "Include subfolders" selected) when searching for files in subfolder
I also tested with files with a single tag and ctag:blurry to confirm it is not limited to search terms with wildcards
I'd be happy to test any changes or suggestions you have to narrow down the issue.
Caption:ctag
Type:Script
Script:return readfile("<cc_base>.txt");
Format:Text
Trigger:Browse
Item type:Files
Item filter:jpg
If I have an image file 100.jpg it will have tags in a single line file 100.txt (contents for example: "car blurry outdoors") in the same folder. If I use the search/filter term:
ctag:*blurry*
I can filter on the custom column with the live filter.
I can also use the Find Files / Name & Location / Name field to search based on the custom column in the current directory
I cannot find files in subfolders (with "Include subfolders" selected) when searching for files in subfolder
I also tested with files with a single tag and ctag:blurry to confirm it is not limited to search terms with wildcards
I'd be happy to test any changes or suggestions you have to narrow down the issue.
-
highend
- Posts: 14925
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Find Files not working on Custom Column
Your script doesn't use full paths but relative ones. Change it...
return readfile("<cc_path>\<cc_base>.txt");One of my scripts helped you out? Please donate via Paypal
-
RustedArmor
- Posts: 3
- Joined: 26 Jul 2023 02:31
Re: Find Files not working on Custom Column
Of course that was the problem, thank you so much! This makes sense now and sorry for the confusion and incorrect bug report.
XYplorer Beta Club