aboutsummaryrefslogtreecommitdiff
path: root/src/templates.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates.rs')
-rw-r--r--src/templates.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/templates.rs b/src/templates.rs
index 89b0ed8..2c8e72a 100644
--- a/src/templates.rs
+++ b/src/templates.rs
@@ -33,9 +33,11 @@ pub fn get() -> Tera {
fn payments_params(args: &HashMap<String, Value>) -> Result<Value> {
let q = json!({
"page": args.get("page"),
- "search": args.get("search"),
+ "name": args.get("name"),
+ "cost": args.get("cost"),
"frequency": args.get("frequency"),
"highlight": args.get("highlight"),
+ "user": args.get("user"),
"category": args.get("category"),
});