Fix notes for 2019-04-26

This commit is contained in:
Alan Orth 2019-05-27 12:04:14 +03:00
parent 5453b76822
commit 48c14002d1
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -991,7 +991,7 @@ dspace=# SELECT * FROM item WHERE item_id=74648;
- Export a list of authors for Peter to look through: - Export a list of authors for Peter to look through:
``` ```
dspacetest=# # \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/2019-04-26-all-authors.csv with csv header; 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/2019-04-26-all-authors.csv with csv header;
COPY 65752 COPY 65752
``` ```