EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09817
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Filtering Compound fields
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Filtering Compound fields
- From: Robin Sylvestre <robin.sylvestre@polymtl.ca>
- Date: Tue, 13 Aug 2024 10:56:54 -0400 (EDT)
CAUTION: This e-mail originated outside the University of Southampton.
Hello everyone, I have a configured a custom compound field based on the Creators field. I’ve added a few subfields and coded my own renderers (render_input, render_value and render_single_value). Everything works great except one thing
that bugs our installation of EPrints. When the compound field is added to the columns of the review screen, and when a user tries to filter items based on this field, an error occurs that locks out this user account: EPrints System Error The problem is that the search query is recorded in the database and cannot be reset, everytime the user navigates to the review screen, it shows the error. I had to delete that user preferences in the database to unlock
it. I’ve been looking around and I don’t find any information about searching compound fields. Comparing my field’s configuration with a vanilla Creators field, I don’t find anything either. The only big difference is the
custom renderer, but it shouldn’t interfere with searching. For now I’ve hidden the top level compound field from the field list, and have enabled only the name subfield to show up (and it works).
How could I make it work? Do I need a custom search script? There isn’t an option for that in the configuration. Thank you Robin Sylvestre |
- Prev by Date: Re: [EP-tech] Ubuntu - Indexer as a service
- Next by Date: [EP-tech] Missing File on EPrints Item ID
- Previous by thread: [EP-tech] Ubuntu - Indexer as a service
- Next by thread: [EP-tech] Missing File on EPrints Item ID
- Index(es):