From bd5b594ca36afe2620445c04387000c2f6a6f889 Mon Sep 17 00:00:00 2001
From: Alice <alice.poggioli@hotmail.fr>
Date: Mon, 9 Sep 2019 11:40:22 +0200
Subject: [PATCH] WIP: Search resource by keyword in entrepreneur dashboard.

---
 src/includes/entrepreneur/resources/list.pug | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/includes/entrepreneur/resources/list.pug b/src/includes/entrepreneur/resources/list.pug
index 5c3e44a5..76a067ee 100644
--- a/src/includes/entrepreneur/resources/list.pug
+++ b/src/includes/entrepreneur/resources/list.pug
@@ -7,8 +7,13 @@ h2.title_form Search for a resource
 #circles
     sib-display#circles-list(
         data-src=`${endpoints.resources}`,
-        fields='search(name, description, author)',
-        search-fields='name, description, author',
+        fields='search-by-keyword(name, description, author)',
+        search-search-by-keyword="hidden-widget"
+        search-fields='search-by-keyword',
+        search-label-search-by-keyword="Search here by keyword, author..."
+        search-widget-search-by-keyword="sib-form-placeholder-text"
+
+
         widget-format='cs-resource-format-name',
         multiple-format,
         
-- 
GitLab