mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2017-08-16
This commit is contained in:
@ -224,3 +224,12 @@ isNotNull(value.match(/(CGIAR .+?)\|\|\1/))
|
||||
```
|
||||
|
||||
- This would be true if the authors were like `CGIAR System Management Office||CGIAR System Management Office`, which some of the CGIAR Library's were
|
||||
- Unfortunately when you fix these in OpenRefine and then submit the metadata to DSpace it doesn't detect any changes, so you have to edit them all manually via DSpace's "Edit Item"
|
||||
- Ooh! And an even more interesting regex would match _any_ duplicated author:
|
||||
|
||||
```
|
||||
isNotNull(value.match(/(.+?)\|\|\1/))
|
||||
```
|
||||
|
||||
- Which means it can also be used to find items with duplicate `dc.subject` fields...
|
||||
- Finally sent Peter the final dump of the CGIAR System Organization community so he can have a last look at it
|
||||
|
Reference in New Issue
Block a user