aboutsummaryrefslogtreecommitdiff
path: root/mod/page.hxx
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.hxx
parentb9240918720e15263ca6fbf55d639e9ddef01fb3 (diff)
Don't propagate search criteria from package search page to package details page
Diffstat (limited to 'mod/page.hxx')
-rw-r--r--mod/page.hxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/mod/page.hxx b/mod/page.hxx
index dc85230..f3c27d5 100644
--- a/mod/page.hxx
+++ b/mod/page.hxx
@@ -193,24 +193,19 @@ namespace brep
const string& tenant_;
};
- // Generate package name element with an optional search criteria. The
- // search string should be url-encoded, if specified.
+ // Generate package name element.
//
class TR_NAME
{
public:
- TR_NAME (const package_name& n,
- const string& q,
- const dir_path& r,
- const string& t)
- : name_ (n), query_ (q), root_ (r), tenant_ (t) {}
+ TR_NAME (const package_name& n, const dir_path& r, const string& t)
+ : name_ (n), root_ (r), tenant_ (t) {}
void
operator() (xml::serializer&) const;
private:
const package_name& name_;
- const string& query_;
const dir_path& root_;
const string& tenant_;
};