EPrints Technical Mailing List Archive
Message: #04583
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: "max_items" limit
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: "max_items" limit
- From: Gilles Fournié <gilles.fournie@cirad.fr>
- Date: Thu, 27 Aug 2015 08:06:32 +0200
Hi, You can also change max_items in your cfg.d/views.pl : { id => 'year', citation => 'view', menus => [ { fields => [ 'date;res=year' ], reverse_order => 1, allow_null => 1, } ], hideup => 1, *max_items => 3000*, ... Regards, GF Le 26/08/2015 19:08, Tomasz Neugebauer a écrit :
I thought I would share something that we stumbled on recently: there is a max_items limit set somewhere EPrints (I'm not sure where?) that will result in the following error message for browse views that exceed it: "The number of items (2001) for this view has exceeded system limits (2000). The system administrator either needs to increase "max_items" or apply additional filters to this view." Google search of this error message reveals that are a few EPrints repositories that stumble on this limit in their browse views. For us, it was the browse by doctype > theses, as we have more than 2000 theses. We solved this issue by further sub-dividing by year the browse view that was attempting to display more than max_items: id=> "doctype", allow_null => 1, hideempty => 1, menus=>[ { fields=>["type"], allow_null => 1, hideempty => 1, }, { fields => [ "date;res=year" ], reverse_order => 1, allow_null => 1, hideempty => 1, new_column_at => [10,10], } ], order=>"-date" Tomasz *** 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/
- References:
- [EP-tech] "max_items" limit
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- [EP-tech] "max_items" limit
- Prev by Date: [EP-tech] Re: [spam?] Re: file restriction eprints 3.3.14
- Next by Date: [EP-tech] Re: EPrints hack day - 10th September 2015, Southampton UK
- Previous by thread: [EP-tech] "max_items" limit
- Next by thread: [EP-tech] Re: "max_items" limit
- Index(es):