[index] [prev] [next] [options] [help]
See the Contact page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

[EP-tech] Re: 3.1.x combining fields for editor and creator

From: Christopher Gutteridge <cjg AT ecs.soton.ac.uk>
Date: Tue, 30 Jun 2009 19:14:05 +0100


Threading: [EP-tech] 3.1.x combining fields for editor and creator from S.J.Brownrigg AT kent.ac.uk
      • This Message

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


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 AT kent.ac.uk <mailto:S.J.Brownrigg AT 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. 


ATTACHMENT: message.html!


[index] [prev] [next] [options] [help]