I think this should be [ "creators_name","editors_name" ]

S.J.Brownrigg wrote:
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** EPrints community wiki - http://wiki.eprints.org/
  



Under the old views syntax I can have a combined creators_name/editors_name view:

 

    {

        id => "people",

        allow_null => 0,

        fields => "creators_name/editors_name",

        order => "-date/title",

        subheadings => "type",

        heading_level => 2,

        include => 0,

        hideempty => 1,

        citation => "browse",

    },

 

However, if I try this with the new views syntax:

 

                {

                                id => "people_new",

                                allow_null => 0,

                                hideempty => 1,

                                menus =>

                                [

                                                {

                                                                fields => [ "creators_name/editors_name" ],

                                                                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",

                                "DEFAULT",

                                ],

                },

 

I get an internal server error.

 

Stewart

--

Stewart J Brownrigg, Library Systems Officer

S20 Cornwallis South, University of Kent, Canterbury, Kent, CT2 7NF, UK

t: +44(0)1227 823621; f: +44(0)1227 823984; e: S.J.Brownrigg@kent.ac.uk

 


-- 
Christopher Gutteridge -- http://www.ecs.soton.ac.uk/people/cjg

Lead Developer, EPrints Project, http://eprints.org/

Web Projects Manager, School of Electronics and Computer Science,
University of Southampton.