Bug 12252: Include item data only in extended mode
authorFrédéric Demians <f.demians@tamil.fr>
Thu, 23 Jul 2015 16:38:25 +0000 (18:38 +0200)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Thu, 17 Sep 2015 14:02:19 +0000 (11:02 -0300)
commitff807bc2442c229dc1d9a7833267240f4497460a
treed1799b710559dce85a8af1aa0414a975fd70c0c5
parent8b24a09917018f0eddae2b809752fc857da6f5b2
Bug 12252: Include item data only in extended mode

Previous patches attached to this bug have been refactored to merge bug
3206 and bug 13568 features. So OAI server must be carrefully tested to
ensure that there is no regression in this area: deleted records and
resumption token.

This last patch fixed the way items are returned. They are returned only
if OAI server operates in extended mode, and specifically for format
having the parameter include_item set to 1 (true). For example this
configuration file set via OAI-PMH:ConfFile syspref will return items:

Signed-off-by: Signed-off-by: Gaetan Boisson <gaetan.boisson@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
C4/Biblio.pm
opac/oai.pl