mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
SF Patch #1596113 [dspace]/bin/update-handle-prefix needs to index-all
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1674 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
(Stuart Lewis)
|
||||||
|
- SF Patch #1596113 [dspace]/bin/update-handle-prefix needs to index-all
|
||||||
|
|
||||||
(Mark Diggory)
|
(Mark Diggory)
|
||||||
- Change "View Licence" to "View License" in Messages.properties
|
- Change "View Licence" to "View License" in Messages.properties
|
||||||
|
|
||||||
|
@@ -86,6 +86,8 @@ then
|
|||||||
echo "update handle set handle=overlay(handle placing '$2' from 1 for $oldPrefixLen) where handle like '$1%';" | psql
|
echo "update handle set handle=overlay(handle placing '$2' from 1 for $oldPrefixLen) where handle like '$1%';" | psql
|
||||||
# update the metadatavalue table entries
|
# update the metadatavalue table entries
|
||||||
echo "update metadatavalue set text_value=overlay(text_value placing '$2' from 23 for $oldPrefixLen) where text_value like 'http://hdl.handle.net/$1%';" | psql
|
echo "update metadatavalue set text_value=overlay(text_value placing '$2' from 23 for $oldPrefixLen) where text_value like 'http://hdl.handle.net/$1%';" | psql
|
||||||
|
# Reindex the site so the indexes contain the new handles
|
||||||
|
./index-all
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
echo
|
echo
|
||||||
|
Reference in New Issue
Block a user