OK, here's the completely untested SQL. Do not think of running this in
production before testing it on a testing server and making complete DB
backup. Replace AAA with item_id of your template item and BBB with the
parent community - the template will be applied to all its collections.
UPDATE collection SET template_item_id = AAAFROM
community2collectionWHERE collection.collection_id =
community2collection.collection_idAND
community2collection.community_id = BBB;
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette