[PR #311] [MERGED] feat: empty search '?q=' list all paths #559

Closed
opened 2026-04-08 16:53:26 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/311
Author: @sigoden
Created: 12/7/2023
Status: Merged
Merged: 12/7/2023
Merged by: @sigoden

Base: mainHead: feat-empty-search


📝 Commits (2)

📊 Changes

2 files changed (+6 additions, -4 deletions)

View changed files

📝 src/server.rs (+5 -1)
📝 tests/http.rs (+1 -3)

📄 Description

In the past, an empty search "/?q=" would return empty paths.
After this pr, an empty search "/?q=" will list all paths, just like no '?q='.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sigoden/dufs/pull/311 **Author:** [@sigoden](https://github.com/sigoden) **Created:** 12/7/2023 **Status:** ✅ Merged **Merged:** 12/7/2023 **Merged by:** [@sigoden](https://github.com/sigoden) **Base:** `main` ← **Head:** `feat-empty-search` --- ### 📝 Commits (2) - [`6efadf3`](https://github.com/sigoden/dufs/commit/6efadf30665df05f04807247d6792d43bd0c8ec4) feat: empty search '?q=' ls all paths - [`aed40ba`](https://github.com/sigoden/dufs/commit/aed40ba8239aa941d801409b5831a597d0c63e1f) clippy ### 📊 Changes **2 files changed** (+6 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/server.rs` (+5 -1) 📝 `tests/http.rs` (+1 -3) </details> ### 📄 Description In the past, an empty search "/?q=" would return empty paths. After this pr, an empty search "/?q=" will list all paths, just like no '?q='. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-04-08 16:53:26 +03:00
zhus closed this issue 2026-04-08 16:53:26 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#559