Skip to content

Commit

Permalink
Merge branch 'master' of github.com:TheScienceMuseum/collectionsonline
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Unwin authored and Jamie Unwin committed Jul 13, 2018
2 parents 1d668d2 + 6fd4198 commit 11efe83
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -6,6 +6,9 @@ logs
*.log
npm-debug.log*

# OSX
.DS_Store

# Runtime data
pids
*.pid
Expand Down
2 changes: 1 addition & 1 deletion lib/facets/create-facets.js
Expand Up @@ -18,7 +18,7 @@ module.exports = function createAllFacets (results) {
organisation: a.organisation.organisations_filters.buckets.map(v => { return {value: v.key, count: v.doc_count}; }),
material: a.material.material_filters.buckets.map(v => { return {value: v.key, count: v.doc_count}; }),
museum: a.museum.museum_filters.buckets.map(v => {
if (v.key === 'Science Museum' || v.key === 'National Railway Museum' || v.key === 'Museum of Science and Industry' || v.key === 'National Media Museum') {
if (v.key === 'Science Museum' || v.key === 'National Railway Museum' || v.key === 'Museum of Science and Industry' || v.key === 'National Media Museum' || v.key === 'National Science and Media Museum') {
return {
value: v.key,
// really don't like this 'fix' but can't think of a better (short term) solution?
Expand Down
2 changes: 1 addition & 1 deletion test/client/end-to-end.clienttest.js
Expand Up @@ -20,7 +20,7 @@ module.exports = {
.setValue('input[type=search].searchbox__search', 'charles babbage')
.pause(1000)
.click('button.searchbox__submit')
.pause(1000)
.pause(2000)
.assert.urlEquals('http://localhost:8000/search?q=charles%20babbage')
.click('.resultcard')
.pause(3000)
Expand Down

0 comments on commit 11efe83

Please sign in to comment.