diff --git a/content/post/2017-11.md b/content/post/2017-11.md index e64efa28c..01e4fac93 100644 --- a/content/post/2017-11.md +++ b/content/post/2017-11.md @@ -90,3 +90,30 @@ Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrom ``` - For now I don't know what this user is! + +## 2017-11-05 + +- Peter asked if I could fix the appearance of "International Livestock Research Institute" in the author lookup during item submission +- It looks to be just an issue with the user interface expecting authors to have both a first and last name: + +![Author lookup](/cgspace-notes/2017/11/author-lookup.png) +![Add author](/cgspace-notes/2017/11/add-author.png) + +- But in the database the authors are correct (none with weird `, /` characters): + +``` +dspace=# select distinct text_value, authority, confidence from metadatavalue value where resource_type_id=2 and metadata_field_id=3 and text_value like 'International Livestock Research Institute%'; + text_value | authority | confidence +--------------------------------------------+--------------------------------------+------------ + International Livestock Research Institute | 8f3865dc-d056-4aec-90b7-77f49ab4735c | 0 + International Livestock Research Institute | f4db1627-47cd-4699-b394-bab7eba6dadc | 0 + International Livestock Research Institute | | -1 + International Livestock Research Institute | 8f3865dc-d056-4aec-90b7-77f49ab4735c | 600 + International Livestock Research Institute | f4db1627-47cd-4699-b394-bab7eba6dadc | -1 + International Livestock Research Institute | | 600 + International Livestock Research Institute | 8f3865dc-d056-4aec-90b7-77f49ab4735c | -1 + International Livestock Research Institute | 8f3865dc-d056-4aec-90b7-77f49ab4735c | 500 +(8 rows) +``` + +- So I'm not sure if this is just a graphical glitch or if editors have to edit this metadata field prior to approval diff --git a/public/2017-11/index.html b/public/2017-11/index.html index a3413c22e..fdb750725 100644 --- a/public/2017-11/index.html +++ b/public/2017-11/index.html @@ -38,7 +38,7 @@ COPY 54701 - + @@ -86,9 +86,9 @@ COPY 54701 "@type": "BlogPosting", "headline": "November, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-11/", - "wordCount": "472", + "wordCount": "641", "datePublished": "2017-11-02T09:37:54+02:00", - "dateModified": "2017-11-03T18:15:40+02:00", + "dateModified": "2017-11-04T16:44:23+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -251,6 +251,38 @@ COPY 54701
  • For now I don’t know what this user is!
  • +

    2017-11-05

    + + + +

    Author lookup +Add author

    + + + +
    dspace=# select distinct text_value, authority, confidence from metadatavalue value where resource_type_id=2 and metadata_field_id=3 and text_value like 'International Livestock Research Institute%';
    +                 text_value                 |              authority               | confidence 
    +--------------------------------------------+--------------------------------------+------------
    + International Livestock Research Institute | 8f3865dc-d056-4aec-90b7-77f49ab4735c |          0
    + International Livestock Research Institute | f4db1627-47cd-4699-b394-bab7eba6dadc |          0
    + International Livestock Research Institute |                                      |         -1
    + International Livestock Research Institute | 8f3865dc-d056-4aec-90b7-77f49ab4735c |        600
    + International Livestock Research Institute | f4db1627-47cd-4699-b394-bab7eba6dadc |         -1
    + International Livestock Research Institute |                                      |        600
    + International Livestock Research Institute | 8f3865dc-d056-4aec-90b7-77f49ab4735c |         -1
    + International Livestock Research Institute | 8f3865dc-d056-4aec-90b7-77f49ab4735c |        500
    +(8 rows)
    +
    + + + diff --git a/public/2017/11/add-author.png b/public/2017/11/add-author.png new file mode 100644 index 000000000..26f12875e Binary files /dev/null and b/public/2017/11/add-author.png differ diff --git a/public/2017/11/author-lookup.png b/public/2017/11/author-lookup.png new file mode 100644 index 000000000..5d9d95831 Binary files /dev/null and b/public/2017/11/author-lookup.png differ diff --git a/public/sitemap.xml b/public/sitemap.xml index 17433e5e4..37a8edcd4 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2017-11/ - 2017-11-03T18:15:40+02:00 + 2017-11-04T16:44:23+02:00 @@ -134,7 +134,7 @@ https://alanorth.github.io/cgspace-notes/ - 2017-11-03T18:15:40+02:00 + 2017-11-04T16:44:23+02:00 0 @@ -145,7 +145,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2017-11-03T18:15:40+02:00 + 2017-11-04T16:44:23+02:00 0 @@ -157,13 +157,13 @@ https://alanorth.github.io/cgspace-notes/post/ - 2017-11-03T18:15:40+02:00 + 2017-11-04T16:44:23+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2017-11-03T18:15:40+02:00 + 2017-11-04T16:44:23+02:00 0 diff --git a/static/2017/11/add-author.png b/static/2017/11/add-author.png new file mode 100644 index 000000000..26f12875e Binary files /dev/null and b/static/2017/11/add-author.png differ diff --git a/static/2017/11/author-lookup.png b/static/2017/11/author-lookup.png new file mode 100644 index 000000000..5d9d95831 Binary files /dev/null and b/static/2017/11/author-lookup.png differ