• Resolved backlands

    (@backlands)


    Hello,

    I have a large Memo File Away setup on an internal website with old memos sorted away by Year -> Month and we have noticed that when using the search function it is only searching files in the current directory and not into sub-directories.

    Is there an option to have it search the folders recursively rather than just the current directory? Or should I setup a separate File Away with all files without directories and have users search that? Just hoping to get pointed in the right direction on this.

    We have something like 3000 memos over the course of 10 years so top level searching is rather important at this point.

    Thanks for the help ahead of time!

    https://www.ads-software.com/plugins/file-away/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author thomstark

    (@thomstark)

    The search feature is a javascript function that searches the existing html table. It is a built-in feature of the fooTable library which is what File Away employs for your data tables (sorting columns, pagination, search). So unfortunately, the only way to search all files is in a recursive table, not a directory tree table. Moreover, with 3000 memos in a recursive table, that’s going to put a lot of strain on your browser’s memory. Load times will likely be unmanageable. Bad news all around.

    Thread Starter backlands

    (@backlands)

    That’s what I thought. Unfortunate. I may have to remove the per-month sorting so that they only have to go into each year and do their searches. That would reduce the load count from the full 3000 to around 200-300 in each year. Not ideal but manageable.

    Might be worth considering adding an option to disable the Javascript search and instead perform a search across pages through POST and return a file list from that. Would be beneficial to sites with large databases.

    Plugin Author thomstark

    (@thomstark)

    I’m swamped with development projects right now (i.e., paying the mortgage) but eventually (eventually) I intend to create a pro version of File Away which will be rewritten from scratch to allow ajax loading of file tables, searches on the server, server-side table pagination, etc. The shortcodes will be created on the backend using a webform, and saved, then implemented like this: [fileaway id=24] which will reference the particular configuration you’ve saved. Uploads will be integrated with file tables (so uploads will automatically load into the table via ajax). Etc. But the plugin needs a complete rewriting to accommodate all this, and the timeframe on getting started is not soon.

    Thread Starter backlands

    (@backlands)

    Life always comes first in my eyes. Sounds like you have a clear development plan though when you are able to start. Until then I really do enjoy the plugin you have built and intend to continue using it.

    Thanks for the info, and now I at least have options for what to do for my users.

    Plugin Author thomstark

    (@thomstark)

    Thanks. Sorry I can’t be of immediate help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search Recursively Through Subdirectories’ is closed to new replies.