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

---
 src/includes/entrepreneur/resources/list.pug | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/includes/entrepreneur/resources/list.pug b/src/includes/entrepreneur/resources/list.pug
index 76a067ee..8b14e148 100644
--- a/src/includes/entrepreneur/resources/list.pug
+++ b/src/includes/entrepreneur/resources/list.pug
@@ -6,13 +6,11 @@ h2.title_form Search for a resource
 
 #circles
     sib-display#circles-list(
-        data-src=`${endpoints.resources}`,
-        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"
+        data-src=`${endpoints.steps}`,
+        nested-field=`resources`,
 
+        fields='name, description, author',
+        search-fields='name, description, author',
 
         widget-format='cs-resource-format-name',
         multiple-format,
@@ -20,10 +18,12 @@ h2.title_form Search for a resource
         widget-header_search='cs-section_header',
         widget-steps='cs-resource-format-name',
         multiple-steps,
-        
-        paginate-by="10"
+
         next='detail'
+        
     )
+     
+       
 
 div.side-block
     p Can't find the ressource you need ?
-- 
GitLab