mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Regenerate public
This commit is contained in:
@ -42,37 +42,6 @@ In this case the select query was showing 95 results before the update
|
||||
|
||||
|
||||
|
||||
<meta itemprop="name" content="July, 2016">
|
||||
<meta itemprop="description" content="2016-07-01
|
||||
|
||||
|
||||
Add dc.description.sponsorship to Discovery sidebar facets and make investors clickable in item view (#232)
|
||||
I think this query should find and replace all authors that have “,” at the end of their names:
|
||||
|
||||
|
||||
dspacetest=# update metadatavalue set text_value = regexp_replace(text_value, '(^.+?),$', '\1') where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
|
||||
UPDATE 95
|
||||
dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
|
||||
text_value
|
||||
------------
|
||||
(0 rows)
|
||||
|
||||
|
||||
|
||||
In this case the select query was showing 95 results before the update
|
||||
|
||||
|
||||
">
|
||||
|
||||
|
||||
<meta itemprop="dateModified" content="2016-07-01T10:53:00+03:00" />
|
||||
<meta itemprop="wordCount" content="866">
|
||||
|
||||
|
||||
|
||||
<meta itemprop="keywords" content="notes," />
|
||||
|
||||
|
||||
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
|
||||
@ -101,17 +70,39 @@ In this case the select query was showing 95 results before the update
|
||||
"/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<meta name="generator" content="Hugo 0.18.1" />
|
||||
|
||||
|
||||
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "BlogPosting",
|
||||
|
||||
"headline": "July, 2016",
|
||||
"url": "https://alanorth.github.io/cgspace-notes/2016-07/",
|
||||
"wordCount": "866",
|
||||
|
||||
|
||||
"datePublished": "2016-07-01T10:53:00+03:00",
|
||||
|
||||
|
||||
"dateModified": "2016-07-01T10:53:00+03:00",
|
||||
|
||||
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alan Orth"
|
||||
}
|
||||
|
||||
,
|
||||
"keywords": "Notes"
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/2016-07/">
|
||||
|
||||
<title>July, 2016 | CGSpace Notes</title>
|
||||
@ -145,7 +136,7 @@ In this case the select query was showing 95 results before the update
|
||||
<header class="blog-header">
|
||||
<div class="container">
|
||||
<h1 class="blog-title"><a href="https://alanorth.github.io/cgspace-notes/" rel="home">CGSpace Notes</a></h1>
|
||||
|
||||
<p class="lead blog-description">Documenting day-to-day work on the <a href="https://cgspace.cgiar.org">CGSpace</a> repository.</p>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
Reference in New Issue
Block a user