EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #06812
< 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: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Thu, 7 Sep 2017 11:02:24 +0000
Is your view just displaying the ids or is it translating to a name e.g. from the user table? Might it be not finding the id during the translation? From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Andrew Beeken Yup. The exact definition is: push @{ $c->{browse_views} }, ( { id => "creators", allow_null => 0, hideempty => 1, menus => [ { fields => [ "creators_internalid", "contributors_internalid", "editors_internalid" ], new_column_at => [1, 1], mode => "sections", open_first_section => 1, group_range_function => "EPrints::Update::Views::cluster_ranges_30", grouping_function => "EPrints::Update::Views::group_by_a_to_z", }, ], order => "-date/title", variations => [ "type", "date;truncate=4,reverse", "DEFAULT", ], }); From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Alan.Stiles Hi Andrew, Does your view definition in cfg.d have these parameters?
allow_null => 0, hideempty => 1, Alan From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Andrew Beeken Hello all! So, I’ve implemented an “Internal ID” for the creator browse on our new repository as per David Newman’s guide here:
http://wiki.eprints.org/w/Using_Internal_IDs_for_Staff_Browse_Views This works fantastically and both clears up and exposes some issues with our data which is perfect – a large part of this was to ensure we can clean our data up appropriately. One thing it has done, however, is added a ? entry to the creator
browse – I’m assuming that this is picking up external authors on records who do not have internal ID’s set against them and do not have a user record. There are around 9001 of these although I cannot see them as the browse is not creating a page to show them,
merely showing the number in the listing. Is there an easy way to suppress this as it’s more of a visual issue? Many thanks! Andrew
-- 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.
|
- References:
- [EP-tech] Unknown entries in creator browse
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- Re: [EP-tech] Unknown entries in creator browse
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Re: [EP-tech] Unknown entries in creator browse
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Unknown entries in creator browse
- Prev by Date: [EP-tech] User import
- 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):