Hi Hayden, I’m someone who can’t really change java files and recompile, but what I do know is Javascript and when all you’ve got is a hammer everything’s a nail. :-) We were faced with a similar issue of the submissions page getting very long and unmanageable for our repository admin staff so I created some javascript that changes in the browser without touching any source code. It:
· Hides the archived submissions by default – leaving a button to toggle the display of these · Makes all the tables sortable – sorting by default by workflow ID which essentially puts them oldest first The code/documentation are on gitHub if you’re interested: https://github.com/LincolnUniLTL/dspace/tree/master/workflowhelper (I’ve just updated it with our latest version) Deborah From: [email protected] [mailto:[email protected]] On Behalf Of Hayden Young Sent: Sunday, 4 September 2016 2:20 a.m. To: DSpace Technical Support <[email protected]> Cc: [email protected] Subject: Re: [dspace-tech] Limiting the number of "Archived Submissions" Hi Hilton Thanks for pointing me in the right direction this is definitely what I require. I've had a look through the code where addPreviousSubmissions has been implemented; I was hoping there may be a way to manipulate the displayAll from the xmlui theme files or configuration (i.e. without needing to change java files and recompile)? Thanks Hayden On Saturday, September 3, 2016 at 7:49:19 PM UTC+8, Hilton Gibson wrote: Hi Hayden, Perhaps this will help: https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/Submissions.java#L322-L331 Cheers hg Hilton Gibson Stellenbosch University Library http://orcid.org/0000-0002-2992-208X On 3 September 2016 at 12:57, Hayden Young <[email protected]<javascript:>> wrote: Hi On the "Submissions" page (which displays workflow items, etc) is there a way to limit the number of Archived Submissions shown? At the moment the entire list is displayed, which, for some users, can result in it being very long. I'm using XMLUI and I have searched the code but have been unable to locate the xsl page which needs to be customized. Any help much appreciated. -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<javascript:>. To post to this group, send email to [email protected]<javascript:>. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout. ________________________________ P Please consider the environment before you print this email. "The contents of this e-mail (including any attachments) may be confidential and/or subject to copyright. Any unauthorised use, distribution, or copying of the contents is expressly prohibited. If you have received this e-mail in error, please advise the sender by return e-mail or telephone and then delete this e-mail together with all attachments from your system." -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" 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-tech. For more options, visit https://groups.google.com/d/optout.
