From 8ed5217b9f72e98e716b3efed0f742c4f2143180 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 11 Sep 2020 08:34:17 +0200 Subject: [PATCH] Fix filter not loadable because of missing param declaration Signed-off-by: kolaente --- pkg/models/saved_filters.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/saved_filters.go b/pkg/models/saved_filters.go index 1d9ba59e8..18a0bbce5 100644 --- a/pkg/models/saved_filters.go +++ b/pkg/models/saved_filters.go @@ -25,7 +25,7 @@ import ( // SavedFilter represents a saved bunch of filters type SavedFilter struct { // The unique numeric id of this saved filter - ID int64 `xorm:"autoincr not null unique pk" json:"id"` + ID int64 `xorm:"autoincr not null unique pk" json:"id" param:"filter"` // The actual filters this filter contains Filters *TaskCollection `xorm:"JSON not null" json:"filters"` // The title of the filter.