aboutsummaryrefslogtreecommitdiff
path: root/mod/page.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-10-04 17:05:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-10-04 17:36:00 +0300
commit5275715ea7ba476af67ee293b242021b45306638 (patch)
tree09b70d9dfb62d6d21511f84964e876fa08f9e075 /mod/page.cxx
parentb9240918720e15263ca6fbf55d639e9ddef01fb3 (diff)
Don't propagate search criteria from package search page to package details page
Diffstat (limited to 'mod/page.cxx')
-rw-r--r--mod/page.cxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/mod/page.cxx b/mod/page.cxx
index 331f919..d844a89 100644
--- a/mod/page.cxx
+++ b/mod/page.cxx
@@ -237,15 +237,9 @@ namespace brep
<< A
<< HREF
<< tenant_dir (root_, tenant_) /
- path (mime_url_encode (name_.string (), false));
-
- // Propagate search criteria to the package details page.
- //
- if (!query_.empty ())
- s << "?q=" << query_;
-
- s << ~HREF
- << name_
+ path (mime_url_encode (name_.string (), false))
+ << ~HREF
+ << name_
<< ~A
<< ~SPAN
<< ~TD