discoverygarden/islandora_content_model_viewer — pull request #6 by philsogaDGI (2013-04-30 16:33:58+00:00)
Title: 6.x relationship changes

I have changed a lot of the functionality

sidora module
-changed the query to get children and parents to look for conceptCModel and resourceCModel.
-changed how relationships are added to concepts.
-changed the base model to show the child list, if concept overview tab and parents if on resource overview tab.
-i also changed the ingest of new object to remove ismemberofcollection replace with hasConcept or hasResource.

islandora_content_model_viewer
-changed a lot of queries to build the tree.
-changed how the tree is refreshed. Only the tree nodes are updated when a concept is linked.

TESTING

Concept overview tab
-able to link to another concept and have the child concept show up in the list.
-able to remove linked concepts.
-only tree node is refreshed after linking and unlinking of concepts.
-RELS-EXT is updated of parent object to show relationship hasConcept.
-able to create new concepts and have the concept, a child of the parent.

Resource overview tab
-able to link to another concept and have the parent concept show up in the list.
-RELS-EXT is updated of parent object to show relationship hasResource.
-able to remove linked concept.