Skip to content

Commit

Permalink
Merge pull request #5 from moreonion/animal-welfare-column
Browse files Browse the repository at this point in the history
Animal welfare column more fixes
  • Loading branch information
alex-mo authored Nov 15, 2017
2 parents ca9dcc9 + 8f2ed8b commit a092120
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/columns.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ const defaultScoreAutocompleteConfig = {
export const _COLUMNS_ = {
types,
// Columns with order
columns: [['name', 0], ['hotspots', 2], ['resources', 3], ['credibility', 4], ['environment', 5], ['social', 6], ['animal_welfare', 7], ['countries', 8]],
columns: [['name', 0], ['hotspots', 2], ['resources', 3], ['credibility', 4], ['environment', 5], ['social', 6], ['animal', 7], ['countries', 8]],
columnValueMap: {
'name': 'name',
'credibility': 'details.score.credibility',
'environment': 'details.score.environment',
'social': 'details.score.social',
'animal_welfare': 'details.score.animal_welfare',
'animal': 'details.score.animal_welfare',
'hotspots': 'hotspots',
'resources': 'resources',
'countries': 'countries'
Expand All @@ -78,7 +78,7 @@ export const _COLUMNS_ = {
'details.score.credibility': 'credibility',
'details.score.environment': 'environment',
'details.score.social': 'social',
'details.score.animal_welfare': 'animal_welfare',
'details.score.animal_welfare': 'animal',
'hotspots': 'hotspots',
'resources': 'resources',
'countries': 'countries'
Expand Down Expand Up @@ -120,8 +120,8 @@ export const _COLUMNS_ = {
'only': ['details'],
'include': []
},
'animal_welfare': {
'only': ['animal_welfare'],
'animal': {
'only': ['details'],
'include': []
},
'hotspots': {
Expand Down

0 comments on commit a092120

Please sign in to comment.