Skip to content

Commit

Permalink
add SQL to open href in new window #3337
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Jun 4, 2018
1 parent 48fa02f commit 630a8d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/database/upgrades/upgrade_v4.8.6_to_v4.9.0.sql
Expand Up @@ -69,3 +69,5 @@ VALUES (':Shoulder', (SELECT substring(content, strpos(content,'/')+1) || '/' fr
SET content=(SELECT substring(content from 0 for strpos(content,'/'))
FROM setting
WHERE name=':Authority' and strpos(content,'/')>0) where name=':Authority';

update datasetfieldtype set displayformat = '<a href="#VALUE" target="_blank">#VALUE</a>' where name in ('alternativeURL', 'keywordVocabularyURI', 'topicClassVocabURI', 'publicationURL', 'producerURL', 'distributorURL');

0 comments on commit 630a8d1

Please sign in to comment.