Hi Joan,

I can verify that these configurations seem to no longer be used in DSpace
6.

Here's where they were used in DSpace 5.x:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/content/Bundle.java#L72


In DSpace 6, we refactored our Java API to support Hibernate.  These
configurations were dropped in favor of explicitly ordering them via
Hibernate here:
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/Bundle.java#L58
(This says to use the "bitstream_order" column from "bundle2bitstream", and
that column is set based on the "sequence_id")

In DSpace 6, it is possible to still reorder Bitstreams (which changes the
"sequence_id" and "bitstream_order"):
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/BundleServiceImpl.java#L272


However, it looks like we don't use those configurations any more.  I'm not
certain we even could use them easily in Hibernate.  In any case, I've
logged this as a known bug: https://jira.duraspace.org/browse/DS-4071

- Tim

On Wed, Oct 31, 2018 at 6:59 AM Joan Caparros <[email protected]>
wrote:

> Hi to everybody,
>
> did anyone notice that properties webui.bitstream.order.field and
> webui.bitstream.order.direction are never used in the 6_x version of
> DSpace?
>
> I was trying to return ordered by name all bitstreams in a item and I
> realized that doesn't matter the value that I write in dspace.cfg, it
> will always return the bitstream following the sequence_id order,
> watching the code it seems that this configuration was used in the
> previous versions but in this version we lose this feature.
>
> Did anyone find a solution?
>
>
> Bests
>
> Joan Caparrós
>
>
> --
> 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 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.
>
-- 
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 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.

Reply via email to