mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
add template application key
This commit is contained in:
1 parent
036f6049a2
commit
14c3c8181b
5 files changed
+25
-15
No files matched your search
@@ -8,6 +8,7 @@ module Api
|
||||
templates = Templates.search(@templates, params[:q])
|
||||
|
||||
templates = params[:archived] ? templates.archived : templates.active
|
||||
templates = templates.where(application_key: params[:application_key]) if params[:application_key].present?
|
||||
|
||||
templates = paginate(templates.preload(:author, documents_attachments: :blob))
|
||||
|
||||
|
||||
Reference in new issue
Block a user