mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2017-11-02
This commit is contained in:
@ -18,5 +18,12 @@ tags: ["Notes"]
|
||||
0
|
||||
```
|
||||
|
||||
- Generate list of authors on CGSpace for Peter to go through and correct:
|
||||
|
||||
```
|
||||
dspace=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/authors.csv with csv;
|
||||
COPY 54701
|
||||
```
|
||||
|
||||
<!--more-->
|
||||
|
||||
|
Reference in New Issue
Block a user