#514: Upon two records merging, the deleted record URL should redirect to the
new
one
-------------------------+-------------------------------------------------
Reporter: skaplun | Owner: rajimene
Type: | Status: closed
enhancement | Milestone: v1.1
Priority: major | Version:
Component: *general* | Keywords: merging renaming record bibdoc
Resolution: fixed | redirection EuCARD
-------------------------+-------------------------------------------------
Changes (by Raquel Jimenez Encinar <raquel.jimenez.encinar@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [2b402ca36689396ab2f7bf6b742b98d1f4a3da0e]:
{{{
#!CommitTicketReference repository=""
revision="2b402ca36689396ab2f7bf6b742b98d1f4a3da0e"
WebSearch: redirect merged records to the new URL
* Checks if the current record has been deleted and
has been merged in websearch_interface.py, search_engine.py
and webbasket.py.
* Creates function called 'get_merged_recid' in order to
obtain from the subfield 970__d the record ID of the
record with which the given record was merged.
* Builds the new URL with the merged record ID and redirect
the deleted record URL to the new one.
* Calls this function in WebSearch, WebBasket and BibFormat.
* Adds in 'bibformat_utils.py' the marcxml out for the
subfield 970__d.
* Removes the deleted record from its corresponding basket,
keep its notes and adds the merged record in the corresponding
basket with the notes kept before.
* Adds parameter 'date_creation' wherever it is needed in order
to keep the dates in which the notes of the deleted record were
created. (closes #514)
}}}
--
Ticket URL: </ticket/514#comment:7>
Invenio <http://invenio-software.org>