mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #85] Search not working with --render-try-index
#35
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mh166 on GitHub (Jul 2, 2022).
Original GitHub issue: https://github.com/sigoden/dufs/issues/85
First of all: thanks for this amazing little tool. I just discovered it a few minutes ago, but I already fell in love with it. Small, standalone, feature-rich aaaaand, at last, a file server with an easy upload function! Ticking all the right boxes for me! 👍
Now for the small problem I have...
Problem
I ran
dufswith the following parameters:Unfortunately, the search didn't work: whatever search term I entered, it would always just show the current directory's index. Also, it didn't matter if the search result would be within the current folder or in some directories below it.
Out of curiosity, I tried without
--render-try-indexand now the search function does work as expected (even recursively as I had hoped 🤓 ).It would be great if we could use
--render-try-indextogether with--allow-search. Index pages would take precedence and would deny any further processing of URL query parameters, such as?q=.... But if no index file is found, the search should just work as if the--render-try-indexoption had not been set.Log
N/A
Environment: