mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 07:42:32 -05:00
add templates and submissions search
This commit is contained in:
1 parent
7f6c0af0e8
commit
53fa35fd01
12 files changed
+101
-23
No files matched your search
@@ -3,6 +3,7 @@
|
||||
class TemplatesArchivedController < ApplicationController
|
||||
def index
|
||||
templates = current_account.templates.where.not(deleted_at: nil).preload(:author).order(id: :desc)
|
||||
templates = Templates.search(templates, params[:q])
|
||||
|
||||
@pagy, @templates = pagy(templates, items: 12)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user