Commit 4302fb3a authored by Tobinsk's avatar Tobinsk
Browse files

Merge branch '1-wrong-links' into 'master'

Resolve "Wrong links"

Closes #1

See merge request !3
parents 095d2eea b5de85b0
......@@ -34,7 +34,7 @@ class Fundmuenzen extends CsvReadable {
return {
id: records[7].toString(),
provider: 'fundmuenzen',
url: `https://www.muenzfunde.ch/id/country/ch/municipality/${records[7].toString()}/`,
url: `https://www.muenzfunde.ch/id/country/ch/municipality/${records[7].toString()}`,
name: records[0].toString(),
alternative_name: records[1].toString() + ' ' + records[2].toString() + ' '
+ records[3].toString() + ' ' + records[4].toString(),
......@@ -47,7 +47,7 @@ class Fundmuenzen extends CsvReadable {
public transformLinks(records: any): InterfaceConcordance | null {
const urls = [];
const from = `https://www.muenzfunde.ch/id/country/ch/municipality/${records[7].toString()}/`;
const from = `https://www.muenzfunde.ch/id/country/ch/municipality/${records[7].toString()}`;
// transform the identifiers to links
urls.push(this.core.getUriBuilder().urlResolver('fundmuenzen', `${records[7]}`));
urls.push(this.core.getUriBuilder().urlResolver('dodis', `${records[10]}`));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment