Hello,

(Just a quick note, you might have more success asking these sorts of
questions on our Tech Support mailing list, dspace-tech:
https://groups.google.com/forum/#!forum/dspace-tech)

When you see a label listed out in detail (like
"xmlui.Discovery.AbstractSearch...."), that means that specific label is
*missing* from your "messages.xml" language packs file.  See:
https://wiki.duraspace.org/display/DSDOC6x/XMLUI+Configuration+and+Customization#XMLUIConfigurationandCustomization-MultilingualSupport


So, if you add that key to your "messages.xml" file with the text that you
like to appear, then that should fix the problem.  As noted on that wiki
page, you will  need to rebuild / redeploy your DSpace to have that change
take effect.

As for changing search options (default search and results per page), those
are configurable in DSpace's Discovery settings, which are detailed on this
page: https://wiki.duraspace.org/display/DSDOC6x/Discovery

Changing the default sort option is possible in the "discovery.xml"
configuration file (described on that page).  Details of doing so is in the
documentation at:
https://wiki.duraspace.org/display/DSDOC6x/Discovery#Discovery-Configuringandcustomizingsearchsortfields


Changing the number of results to return is also in the "discovery.xml"
configuration file.  Although, I'm not seeing the details in the
documentation (we'll have to correct that). In any case, it's this
"defaultRpp" configuration, which is set to 10 by default:
https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace/config/spring/api/discovery.xml#L152


I suspect that your discovery.xml has already been customized from the
default (to add in these new, custom sort options). But, any customization
to this file also does require a rebuild/restart of DSpace.

If you are looking for more resources to learn about DSpace.  Here's a few
places you may wish to get started:
* We had a "Making DSpace Your Own" webinar back in April. The video &
slides are available at: https://duraspace.org/webinar/  (Here's also a
direct link to where the slides/materials are in GitHub:
https://github.com/DSpace-Labs/DSpace-rel-demo#presentationbranch-references

* There was also an Advanced XMLUI Training from 2015 which is still
relevant.  While this was for DSpace 4.x, there have not been significant
changes to the XMLUI since then:
http://www.slideshare.net/DuraSpace/dspace-42-xmlui-theming
* Additional resources are available at:
https://wiki.duraspace.org/display/DSPACE/DSpaceResources#DSpaceResources-CustomizingDSpace


It's also worth noting that we have a very active group of DSpace Service
Providers.  So, if you are looking for someone to do this work on your
behalf, you could contact one (or more) of them for a quote.
https://duraspace.org/dspace/resources/service-providers/

If you run into more questions, I'd encourage asking them on dspace-tech.
We'd be glad to try and help out, as I know the number of configuration
options can be very intimidating, and the documentation is not always as
clear as it could be.

Tim

On Thu, Sep 20, 2018 at 3:17 PM hhusted <[email protected]> wrote:

> Hello,
>
> Our DSpace instances were set up by someone no longer at my institution,
> so even small changes are challenging.  I have an administrator login but
> our other settings are administered by IT.
>
>
>    1. Could someone kindly tell me how to change the default sort option
>    from "relevance" to another field?  In our case
>    "xmlui.Discovery.AbstractSearch.sort_by.lg.chapter..." is more useful.
>    2. How could we give this field a different label?  Would you let me
>    know where this setting is located or point me to documentation on how to
>    modify this?
>    3. How could we display 20 results per page instead of 10?
>
> For this instance we are using version 5.5, xmlui, Mirage 2.
>
> To see the problem in action, go to https://repo.njstatelib.org/ then
> choose any year in the right column.
>
> As a newbie, I have found it difficult to find super-basic documentation
> for changes like this.  If you have any suggestions, please let me know.
>
> Thank you!
>
> --
> 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.
>
-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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