EPrints Technical Mailing List Archive

Message: #07346


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Adding a search field for RIOXX2 epm funder name


You may actually want to try rioxx2_project_input_funder_name as that is what one of my colleagues used rather than just rioxx2_project_funder_name.

On 29/06/2018 07:57, David R Newman wrote:

Hi Lindsay,

This is a compound field rather than a separate dataobj, so it is just rioxx2_project_funder_name

Regards

David Newman


On 29/06/2018 07:50, Lindsay Wood wrote:
Hi,

How would you add a new search field that searches across the RIOXX2 epm data (i.e. funder name, or project id).

$c->{search}->{publications_advanced} = 
{
  search_fields => [
    { meta_fields => [ "title","alt_title" ] },
    { meta_fields => [ "creators_name" ] },
    
... ...
    { meta_fields => [ "funder" ] },
    { meta_fields => [ "rioxx2_project.funder_name" ] },
    { meta_fields => [ "grant_number" ] },

I can see how the ‘simple’ fields work, but not the rioxx2.

Best,

Linds
--
Sent from Gmail Mobile


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/


Virus-free. www.avg.com


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/