Koha/opac
Robin Sheat 80aa17d266 Bug 12252: OAI-PMH result includes item data
GetRecord for OAI-PMH was pulling the MARCXML directly from the
database. Now it uses GetMarcBiblio and includes the item data with it,
making it more generally useful.

Test plan:
* Run an OAI-PMH query, for example:
http://koha/cgi-bin/koha/oai.pl?verb=GetRecord&identifier=KOHA-OAI-TEST:52&metadataPrefix=marcxml
  to fetch biblionumber 52
* Note that it doesn't include the 952 data
* Apply the patch
* Do the same thing, but this time see that the 952 data is at the
  bottom of the MARCXML.

Note:
* This patch also includes a small tidy-up in C4::Biblios to group
  things semantically a bit better, so I don't spend ages looking for a
  function that was staring me in the face all along again.

Signed-off-by: David Cook <dcook@prosentient.com.au>

Works as described. Simple yet useful patch.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Frederic Demians <f.demians@tamil.fr>

952/995 item fields are back in response to GetRecord OAI verb.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

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>
2015-09-17 11:01:46 -03:00
..
errors
rss
sco
svc
ilsdi.pl
maintenance.pl
oai.pl Bug 12252: OAI-PMH result includes item data 2015-09-17 11:01:46 -03:00
opac-account.pl
opac-addbybiblionumber.pl
opac-alert-subscribe.pl
opac-authorities-home.pl
opac-authoritiesdetail.pl
opac-basket.pl
opac-blocked.pl
opac-browser.pl
opac-changelanguage.pl
opac-course-details.pl
opac-course-reserves.pl
opac-detail.pl Bug 14496: Improving opac-detail.pl performances 2015-07-10 10:53:48 -03:00
opac-discharge.pl
opac-downloadcart.pl
opac-downloadshelf.pl
opac-export.pl
opac-ics.pl
opac-idref.pl
opac-image.pl
opac-imageviewer.pl
opac-ISBDdetail.pl
opac-main.pl
opac-MARCdetail.pl
opac-memberentry.pl Bug 14675: Don't update details if no changes made 2015-08-20 13:42:04 -03:00
opac-messaging.pl Bug 14683: [QA Follow-up] Mixup between mobile and smsalertnumber 2015-09-07 12:17:14 -03:00
opac-modrequest-suspend.pl
opac-modrequest.pl
opac-mymessages.pl
opac-news-rss.pl
opac-overdrive-search.pl
opac-passwd.pl
opac-patron-image.pl
opac-privacy.pl
opac-ratings-ajax.pl
opac-ratings.pl Bug 14440: get_template_and_user can not have an empty template_name (opac-ratings.pl) 2015-06-25 14:41:21 -03:00
opac-readingrecord.pl
opac-registration-verify.pl Bug 11693: Default emailing preferences not loaded for self registering patron 2015-07-24 13:44:39 -03:00
opac-renew.pl
opac-reserve.pl Bug 9809: [QA Follow-up] Remove an erroneous call to GetReserveFee 2015-08-26 10:26:54 -03:00
opac-restrictedpage.pl Bug 13485: Use the Koha template plugin to access syspref values 2015-08-11 15:15:36 -03:00
opac-retrieve-file.pl Bug 6874: [QA Follow-up] Adjustments for opac-retrieve 2015-08-07 15:23:36 -03:00
opac-review.pl
opac-search-history.pl
opac-search.pl Bug 14371: Facets should be sorted by label (displayed) not title (link value) 2015-06-22 11:49:01 -03:00
opac-sendbasket.pl
opac-sendshelf.pl
opac-serial-issues.pl
opac-shareshelf.pl
opac-shelves.pl
opac-showmarc.pl
opac-showreviews.pl
opac-suggestions.pl
opac-tags.pl
opac-tags_subject.pl Bug 14412: SQL injection possible 2015-06-22 11:00:10 -03:00
opac-topissues.pl
opac-user.pl
tracklinks.pl
unapi