Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Author drop-down menu length, posted by Kay Graf on Mon Mar 10 12:15:07 2014 
    icon2.gif   Re: Author drop-down menu length, posted by Andreas Luedeke on Mon Mar 10 15:18:51 2014 
       icon14.gif   Re: Author drop-down menu length, posted by Kay Graf on Tue Mar 11 09:19:06 2014 
Message ID: 67675     Entry time: Mon Mar 10 15:18:51 2014     In reply to: 67674     Reply to this: 67676
Icon: Reply  Author: Andreas Luedeke  Author Email: andreas.luedeke@psi.ch 
Category: Question  OS: Linux  ELOG Version: 2.9.2-2455 
Subject: Re: Author drop-down menu length 

Kay Graf wrote:

I am handling several ELOGs for medium-sized collaborations (scientific experiments) with a large number of authors (~250) and chose to have single-user access and entries for every author - in the config file, the "Options Author"-List contains ~150 name for now.

However, the Author drop-down menu stops after ~100 names - is that a ELOG-webserver hard limit? I checked there is nothing strange in the author names following (no strange character, etc.).

I tested it on Firefox, Chrome, Safari - it does not seem to be a browser issue.

Any help would be highly appreciated.

Hello Kay,

I had to look it up in the source code: yes, you are right, it is hard-coded in elogd.h

 
English (auto-detected) » English
 

elogd.h:#define MAX_N_LIST      100

You can of course change the limit and recompile.

As an alternative, you could have sub-menus with less than 100 entries  (disclaimer: the following is untested example):

Attributes = author_range, author, ...
options author_range = A-K{1}, L-Z{2}
{1} options author = Andi, Bob, Camilla, Dennis, ..., Kay
{2} options author = Lily, Max, Norbert, Oscar, ..., Zeta

Cheers

Andreas

ELOG V3.1.5-3fb85fa6