On Tue, 27 Sep 2011, Johnny MariƩthoz wrote:
> Displaying the latest additions do not always make sense. Is it
> possible to replace it by the result of a search expression (sorted by
> date for example)?

We currently do it via a hack.  Check `websearch_webcoll.py' and look
for create_latest_additions_info() and see how some CERN collections
like `Videos' are being treated there.

Of course, this functionality should be made easily configurable for the
admins.  I'll ticketise this.

> N.B. Sort is limited to 1000 records, can I change this?

Yes, you can customise CFG_WEBSEARCH_NB_RECORDS_TO_SORT in your
`invenio-local.conf', followed by the usual:

  $ sudo -u www-data vim /opt/invenio/etc/invenio-local.conf 
  $ sudo -u www-data /opt/invenio/bin/inveniocfg --update-config-py
  $ sudo /etc/init.d/apache2 graceful

Best regards
-- 
Tibor Simko

Reply via email to