EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #07345


< 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


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