mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 22:52:32 -05:00
fulltext search
This commit is contained in:
1 parent
9d1860f038
commit
33811945be
36 files changed
+682
-25
No files matched your search
@@ -6,7 +6,7 @@ class TemplateFoldersController < ApplicationController
|
||||
def show
|
||||
@templates = @template_folder.templates.active.accessible_by(current_ability)
|
||||
.preload(:author, :template_accesses)
|
||||
@templates = Templates.search(@templates, params[:q])
|
||||
@templates = Templates.search(current_user, @templates, params[:q])
|
||||
@templates = Templates::Order.call(@templates, current_user, cookies.permanent[:dashboard_templates_order])
|
||||
|
||||
@pagy, @templates = pagy_auto(@templates, limit: 12)
|
||||
|
||||
Reference in new issue
Block a user