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

Commit

Permalink
Add Centre for Ageing to image meta search (#1068)
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkrida authored Mar 11, 2022
1 parent 1a7afeb commit b4bd91d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/utils/get-legacy-source-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ export const legacySourceMap = {
}
},
},
'Centre For Ageing Better': {
image(search) {
return {
url: 'https://ageingbetter.resourcespace.com/pages/search.php',
query: {
search: search.q,
},
}
},
},
'EDU images': {
image(search) {
return {
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/search-types.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ const searchTypes = [
name: 'All content',
url: '/search/?q=birds',
canLoadMore: true,
metaSourceCount: 6,
metaSourceCount: 7,
},
{
id: 'image',
name: 'Images',
url: '/search/image?q=birds',
canLoadMore: true,
metaSourceCount: 6,
metaSourceCount: 7,
results: /Over 10,000 results/,
},
{
Expand Down

0 comments on commit b4bd91d

Please sign in to comment.