On Tue, Sep 24, 2013 at 3:02 PM, RENTON Scott <scott.ren...@ed.ac.uk> wrote:
> I have had a request from a user to reorder the metadata in full item
view (i.e. they want dc.date.accessioned and dc.date.available at the
bottom of the record). I'm not aware of how to do this, but thought I would
check to see if anyone had tried and succeeded!

Hi Scott,

as the full view is simply a listing of all fields from the database, the
easiest way to do that is to change their order in the database - in the
metadatafieldregistry and metadatavalue tables. The ordering column is
metadata_field_id.

For example, if you want to switch dc.contributor.author (metadata_field_id
= 3) and dc.title (metadata_field_id = 64), you would:
1) change all occurences of (metadata_field_id = 3) in metadatafield and
metadatavalue tables to metadata_field_id = 1000
2) change all occurences of (metadata_field_id = 64) in metadatafield and
metadatavalue tables to metadata_field_id = 3
3) change all occurences of (metadata_field_id = 1000) in metadatafield and
metadatavalue tables to metadata_field_id = 64

Make sure you have a full backup before you do any changes to the database.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to