Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
Merge tag '2.21.5' into geotrek_UX_dev_mid_2018
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaël UTARD committed Nov 13, 2019
2 parents 38dbab3 + 435775e commit 3e8497e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2.21.5-ux / 2019-11-13
======================

**Bug fixes**

* Fix duration showed on touristic contents

2.21.4-ux / 2019-10-03
======================

Expand Down
2 changes: 1 addition & 1 deletion docs/settings-custom-json-all-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ ENABLE_TOURISTIC_CONTENT | Boolean | `true` | Enable touristic contents service
ENABLE_TOURISTIC_EVENTS | Boolean | `true` | Enable touristic events service and fetching from the API
ENABLE_DIVES | Boolean | `false` | Enable dives service and fetching from the API
DEFAULT_ACTIVE_CATEGORY | String (category id) | `"T"` | The default active category.
LIST_EXCLUDE_CATEGORIES | Array of strings (categories id) | | `[]` | List of categories excluded from the filters on results page.
LIST_EXCLUDE_CATEGORIES | Array of strings (categories id) | `[]` | List of categories excluded from the filters on results page.
ENABLE_UNIQUE_CAT | Boolean | `true` | ~~If true, only one category can be activated at the same time in the result page filters.~~<br>**Inactive option**: Current user interface does not make it possible to have multiple categories selected at the same time anymore. This option is now enforced to `true`.
DEFAULT_INTEREST | String | `"pois"` | Choose which interest to open by default on detail page. Possible values: `"pois"`, `"near"`, `"children"`, `"parents"`, `""`.

Expand Down
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "geotrekrando",
"version": "2.21.4-ux",
"version": "2.21.5-ux",
"description": "Geotrek rando public portal of Geotrek",
"author": "Makina Corpus",
"main": "src/app/app.js",
Expand Down
4 changes: 0 additions & 4 deletions src/app/categories/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,6 @@ function categoriesService(globalSettings, $q, treksService, contentsService, ev
type: 'checkbox',
values: aContent.properties.type2 ? angular.copy(aContent.properties.type2) : []
},
duration: {
type: 'range',
values: globalSettings.DURATION_FILTER ? globalSettings.DURATION_FILTER : []
},
themes: {
type: 'checkbox',
values: aContent.properties.themes ? angular.copy(aContent.properties.themes) : []
Expand Down

0 comments on commit 3e8497e

Please sign in to comment.