[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] EPrint history only shows 10 entries.



All,

I thought I'd share this little tidbit for those that ever wondered why their history tab on an EPrint only shows 10 items.

In /opt/eprints/perl_lib/EPrints/DataObj/EPrint.pm the function render_history is hard coded to only show the last 10 items in the history.  At least it is in our 3.2.8 installation.

If you want to be able to view all of the history (too bad there's no pagination for this) comment out the "limit => 10," line and restart your web server for the change to take effect.

You should now see all of the history for the EPrint.

I hope this helps someone else.
-Brian.

Brian D. Gregg
Solutions Architect | Manager Systems Development
University of Pittsburgh | University Library System
Address: 7500 Thomas Blvd.  Room 129 Pittsburgh, PA 15208<https://maps.google.com/maps?q=7500+Thomas+Blvd,+Pittsburgh,+PA&hl=en&sll=41.117935,-77.604698&sspn=7.662465,13.73291&oq=7500+Tho&t=h&hnear=7500+Thomas+Blvd,+Pittsburgh,+Pennsylvania+15208&z=17>
Tel: (412) 648-3264 | Email: bdgregg at pitt.edu<mailto:bdgregg at pitt.edu> | Fax: (412) 648-3585

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20151125/9fab5fd8/attachment.html