EPrints Technical Mailing List Archive

Message: #06814


< 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


Presumably that ORCID / ISNI is in the internal ID field or is it out of the translation?  How many things are in your repository?

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 07 September 2017 12:11
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Unknown entries in creator browse

 

I’m getting ID’s and translated names, but then I’m also getting this ? entry. Screenshot: https://drive.google.com/file/d/0B67FaE28LeB-bkYxQkZzM0tfU2M/view?usp=sharing

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Alan.Stiles
Sent: 07 September 2017 12:02
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Unknown entries in creator browse

 

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
Sent: 07 September 2017 11:19
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Unknown entries in creator browse

 

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
Sent: 06 September 2017 10:49
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Unknown entries in creator browse

 

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
Sent: 06 September 2017 10:00
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Unknown entries in creator browse

 

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


Image removed by sender. TEF Gold

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.

-- 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.