Good day, I'm looking for assistance.

I'm experimenting with my DSpace interface by trying to edit the java files 
located in [dspace.src/dspace-api/src/main/java/org/dspace]. Particularly 
the "NameAscendingComparator.java" file located in 
[dspace.src/dspace-api/src/main/java/org/dspace/content/comparator/NameAscendingComparator.java]
 
and the "DDpaceObjectServiceImpl.java" file located in 
[dspace.src/dspace-api/src/main/java/org/dspace/content/DSpaceObjectServiceImpl.java].

I'm trying to edit the sorting and ordering of the communities and 
sub-communities in the web page "localhost:8080/jspui/community-list". The 
snippet of code in the image below is from 
[dspace.src/dspace-api/src/main/java/org/dspace/content/DSpaceObjectServiceImpl.java].
 
Below I edited the code in line 62, I changed the getMetadataFirstValue 
method parameter value to "descrption" from "title".

[image: edit_dspaceObjectServiceImpl_file.png] <about:invalid#zClosurez>









The snippet of code in the image below is from 
[dspace.src/dspace-api/src/main/java/org/dspace/content/DSpaceObjectServiceImpl.java].
 
Below you can see that I took the "introductory_text" value in line 588 by 
replacing the "name" value in line 596.

[image: db_field_name.png] <about:invalid#zClosurez>















By this logic, I thought it was going to sort the communities and 
sub-communities by the Introductory Text(HTML) value instead of Name value. 
My problem is that the edits I made are not being reflected after maven 
packaging and ant updating. There seems to be no errors showing as well.

So it's either not working or I'm not at the right place.

My system specs:

   - OS: Ubuntu distro 18.04
   - DSpace version: 6.3 source
   - 8Gb RAM


I hope I was not too confusing and I appreciate any help. Thanks in advance.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to