Skip to content
Snippets Groups Projects
Commit 1b4d3fff authored by Alice Poggioli's avatar Alice Poggioli
Browse files

Remove steps' filter in 'more criterias'.

parent b539c047
No related branches found
No related tags found
1 merge request!36Feature/entrepreneur dashboard
......@@ -6,16 +6,15 @@ div.container_min
//-About :
//It will be great to have autocompletion on country
//I'm waiting for a confirmation to suppress step field
.block_log.block_creat_count
h2.title_form Search for a resource
sib-form#search-by-keyword(
data-src=`${endpoints.resources}`,
fields='keyword(name_keyword, description, author)'
fields='keyword(name_keyword, description, author)'
label-keyword="Search by author, name..."
widget-keyword="sib-form-placeholder-text"
widget-description='cs-display-property'
......@@ -28,20 +27,20 @@ div.container_min
div#keyword_submit.button__actions
div.button_base.ico_gauche Search
sib-form(
sib-form#instance_database_only(
data-src=`${endpoints.resources}`,
fields='instance_database_only'
widget-instance_database_only='cs-display-checkbox'
class-instance_database_only = 'ss-list checkbox'
naked
)
sib-form#more_criterias(
data-src=`${endpoints.resources}`,
fields='header_criterias, format, publication_year, country, language.name, fields, steps'
fields='header_criterias, format, publication_year, country, language.name, fields'
label-header_criterias='More criterias'
label-format='Format:'
......@@ -49,12 +48,10 @@ div.container_min
label-country='Country of publication'
label-language.name='Language'
label-fields='Field'
label-steps='Step of : Staring up a cooperative business'
widget-header_criterias='cs-section_header'
range-language.name=`${endpoints.languages}`
range-fields=`${endpoints.fields}`
range-steps=`${endpoints.steps}`
range-format=`${endpoints.formats}`
multiple-language.name='sib-multiple-select'
......@@ -65,9 +62,6 @@ div.container_min
multiple-fields='sib-multiple-select'
widget-fields='sib-form-auto-completion'
multiple-steps='sib-multiple-select'
widget-steps='sib-form-auto-completion'
naked
)
......@@ -92,8 +86,8 @@ div.side-block.block_log
sib-display#step1.resource_by_step(
data-src=`${endpoints.steps}1/resources/`,
fields='name, author, format, publication_year, description, country, language.name, field, steps',
search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field, steps)',
fields='name, author, format, publication_year, description, country, language.name, field',
search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field)',
search-widget-search_for_a_resource="hidden-widget"
search-widget-more_criterias_hidden="hidden-widget"
......@@ -105,7 +99,6 @@ div.side-block.block_log
widget-field='cs-display-property'
widget-language.name="hidden-widget"
widget-author="cs-display-property"
widget-steps="hidden-widget"
widget-format='cs-display-multiple-property'
label-format=''
multiple-format
......@@ -125,8 +118,8 @@ div.side-block.block_log
sib-display.resource_by_step(
data-src=`${endpoints.steps}2/resources/`,
fields='name, author, format, publication_year, description, country, language.name, field, steps',
search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field, steps)',
fields='name, author, format, publication_year, description, country, language.name, field',
search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field)',
search-widget-search_for_a_resource="hidden-widget"
search-widget-more_criterias_hidden="hidden-widget"
......@@ -138,7 +131,6 @@ div.side-block.block_log
widget-field='cs-display-property'
widget-language.name="hidden-widget"
widget-author="cs-display-property"
widget-steps="hidden-widget"
widget-format='cs-display-multiple-property'
label-format=''
multiple-format
......@@ -159,8 +151,8 @@ div.side-block.block_log
sib-display.resource_by_step(
data-src=`${endpoints.steps}3/resources/`,
fields='name, author, format, publication_year, description, country, language.name, field, steps',
search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field, steps)',
fields='name, author, format, publication_year, description, country, language.name, field',
search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field)',
search-widget-search_for_a_resource="hidden-widget"
search-widget-more_criterias_hidden="hidden-widget"
......@@ -172,7 +164,6 @@ div.side-block.block_log
widget-field='cs-display-property'
widget-language.name="hidden-widget"
widget-author="cs-display-property"
widget-steps="hidden-widget"
widget-format='cs-display-multiple-property'
label-format=''
multiple-format
......@@ -193,8 +184,8 @@ div.side-block.block_log
sib-display.resource_by_step(
data-src=`${endpoints.steps}4/resources/`,
fields='name, author, format, publication_year, description, country, language.name, field, steps',
search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field, steps)',
fields='name, author, format, publication_year, description, country, language.name, field',
search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field)',
search-widget-search_for_a_resource="hidden-widget"
search-widget-more_criterias_hidden="hidden-widget"
......@@ -206,7 +197,6 @@ div.side-block.block_log
widget-field='cs-display-property'
widget-language.name="hidden-widget"
widget-author="cs-display-property"
widget-steps="hidden-widget"
widget-format='cs-display-multiple-property'
label-format=''
multiple-format
......@@ -226,8 +216,8 @@ div.side-block.block_log
sib-display.resource_by_step(
data-src=`${endpoints.steps}5/resources/`,
fields='name, author, format, publication_year, description, country, language.name, field, steps',
search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field, steps)',
fields='name, author, format, publication_year, description, country, language.name, field',
search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field)',
search-widget-search_for_a_resource="hidden-widget"
search-widget-more_criterias_hidden="hidden-widget"
......@@ -239,7 +229,6 @@ div.side-block.block_log
widget-field='cs-display-property'
widget-language.name="hidden-widget"
widget-author="cs-display-property"
widget-steps="hidden-widget"
widget-format='cs-display-multiple-property'
label-format=''
multiple-format
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment