EPrints Technical Mailing List Archive
Message: #06835
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Unknown entries in creator browse
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Unknown entries in creator browse
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- Date: Wed, 13 Sep 2017 12:15:55 +0000
Hi Matthew – this looks like the kind of solution we’re after! Your fix for multiple fields hasn’t done the trick so would you be able to share your
hack for the fieldlist_sizes function? I’ve taken a look and I’m really not sure what I need to change. This isn’t a mega issue, just more of an annoyance, but I do want to get it cleaned up! Thanks! Andrew From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Alan.Stiles Good memory – looks like I missed that email conversation first time around. I think we surmounted the problem by using a local grouping function on the person view, which built on the [creators_id, editors_id]
for internal users in the same way as your view. The grouping function excludes entries from the sections hash of arrays it returns, where it can’t find the creators_id (or editors_id) in the user table. Alan From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Matthew Kerwin Wow, this discussion was ringing a lot of bells for me. I've (finally) managed to dig up this old thread: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/2014-December/003730.html If anyone's interested, I ended up hacking EPrints::Update::Views::fieldlist_sizes to let me specify my own top-level SELECT function for the view. Also, I recently did this:
https://github.com/eprints/eprints/commit/2f9d827397680279d0a59808f8559306d0be8bb3 ...which changes the way 'allow_null' interacts with 'multiple' fields. It may be
related, but that was more for making sure allow_null=>1 works, rather than =>0 . Cheers -- Matthew Kerwin -- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority
in relation to its secondary activity of credit broking. The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research. The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies. Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions. The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal. |
- References:
- Re: [EP-tech] Unknown entries in creator browse
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Re: [EP-tech] Unknown entries in creator browse
- Prev by Date: Re: [EP-tech] Unknown entries in creator browse
- Next by Date: Re: [EP-tech] Unknown entries in creator browse
- Previous by thread: Re: [EP-tech] Unknown entries in creator browse
- Next by thread: Re: [EP-tech] Unknown entries in creator browse
- Index(es):