dspace-angular: Bug: theme matching by handle doesn't work, but uuid does

Describe the bug Matching on a collection handle does not appear to work for a collection, but using a UUID does work (except for the duplicated elements #2346)

To Reproduce Steps to reproduce the behavior:

themes:
  - name: etdr
    extends: krex
    handle: '2097/4'
    # uuid: '6d684812-6d29-4564-8b51-f5670957936b'

  # default theme, based on DSpace
  - name: krex

This works though

themes:
  - name: etdr
    extends: krex
    uuid: '6d684812-6d29-4564-8b51-f5670957936b'

  # default theme, based on DSpace
  - name: krex

Expected behavior Theming should be applied to the collection items when using the handle, or the uuid.

Related work

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 25 (25 by maintainers)

Commits related to this issue

Most upvoted comments

Thank you for fixing this @alexandrevryghem!

@alexandrevryghem I was working on DSpace 7.6, not main. But sure, this is my config.dev.yaml:

https://gist.github.com/alanorth/4d6e9a1db7a09567fd588d47ec34d8f9