Hello,
I just purchased Easy Folder Listing Pro specifically for the search function. I have many files with file names that contain the two letter abbreviation for a State, such as “AR” for the state of Arkansas, “NY” for New York and so on. It appears the search only works with 3 letters or more. I have over 7000 files named this way.
An example file name would be:
ABC Supply Co #032 – Charlotte, NC.pdf
In this case I need to search for all file names that contain “NC”
Is there a way to have the search function when only 2 character are typed in the search box or an operator that I can use?
Yes. You can change this default behavior by editing some code. If you feel comfortable changing a line of code then find line 211 in plugins/content/easyfolderlistingspro/easyfolderlistingspro.php:
//add the javascript to enable the search filter for the listing
$javascript[]=$this->jsSearchScript($uniqueId,1);
I should probably add an option to make this customizable in the next release.
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
This forum uses cookies to give you the best possible experience. Using this forum means that you agree to our use of cookies. Please review our Privacy Policy for further details. Review our Policy