Go to file
Tomas Cohen Arazi c85ae52c22 Bug 24908: Add text-formatted MARC support in /biblios/{biblio_id}
This patch makes the route support requesting (through the Accept
header) the MARC record to be output as formatted text as in
$record->as_formatted.

To test:
1. Apply the unit tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/biblios.t
=> FAIL: Tests fail
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Try the route with your favourite API testing tool (Postman?)
=> SUCCESS: Accept: text/plain returns the expected results
=> SUCCESS: Wrong Accept header returns a list of valid formats, and
includes 'text/plain'.
6. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
2020-05-08 22:37:37 +00:00
C4 Bug 25227: Display correct message if item is withdrawn and withdrawn returns are allowed 2020-05-08 22:00:14 +00:00
Koha Bug 24908: Add text-formatted MARC support in /biblios/{biblio_id} 2020-05-08 22:37:37 +00:00
OpenILS
…
acqui Bug 25223: Make join of aqbasket and aqorders explicit 2020-05-07 21:57:30 +00:00
admin Bug 23137: Move cache flushing to the method 2020-05-08 22:35:34 +00:00
api/v1 Bug 24908: Add text-formatted MARC support in /biblios/{biblio_id} 2020-05-08 22:37:37 +00:00
authorities Bug 24103: Add option to dump search query to templates 2020-04-01 15:29:12 +00:00
basket Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
catalogue Bug 5103: Refactor the code to avoid repetition 2020-04-03 17:26:54 +00:00
cataloguing Bug 7882: Add ability to move and reorder fields in MARC editor 2020-04-03 19:42:54 +00:00
circ Bug 24750: Instructor Search Results 2020-05-08 21:14:38 +00:00
clubs
…
course_reserves
…
debian Bug 23137: Add documentation 2020-05-08 22:35:17 +00:00
docs Corrections to teams for 20.05 cycle 2019-11-29 12:10:34 +00:00
errors Bug 23329: Move error page to its own subroutine 2019-11-27 11:30:19 +00:00
etc Bug 18227: Handle utf8 in Koha::Logger 2020-04-29 20:15:36 +00:00
ill
…
installer Bug 24339: Add SIP2 payment types for installation 2020-05-08 21:46:47 +00:00
koha-tmpl Bug 25231: Rename button instead of alert/confirm when replacing record 2020-05-08 22:21:38 +00:00
labels
…
members Bug 24840: [19.11.x] Replace DateTime->now with dt_from_string 2020-05-07 17:17:12 +00:00
misc Bug 23137: Move cache flushing to the method 2020-05-08 22:35:34 +00:00
offline_circ
…
opac Bug 24840: [19.11.x] Replace DateTime->now with dt_from_string 2020-05-07 17:17:12 +00:00
patron_lists
…
patroncards
…
plugins Bug 21073: (QA follow-up) Avoid unnecessary unless/else construct 2019-06-18 17:30:44 +01:00
reports Bug 24940: Serials statistics wizard: order vendor list alphabetically 2020-05-01 17:39:21 +00:00
reserve Bug 24802: Updating holds can cause suspensions to apply to wrong hold 2020-04-01 22:42:26 +00:00
reviews
…
rotating_collections
…
serials Bug 25081: Fix wrong comment 2020-05-04 20:44:10 +00:00
services
…
skel
…
suggestion Bug 22868: Move suggestions_manage subperm out of acquisition perm 2020-02-10 23:08:59 +00:00
svc Bug 24964: [19.11.x] Do not filter patrons after they have been fetched 2020-04-29 15:57:56 +00:00
t Bug 24908: Unit tests 2020-05-08 22:37:27 +00:00
tags Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
tmp/modified_authorities
…
tools Bug 14369: Only show 'Create labels' link on staged records import when status is imported 2020-05-07 21:50:13 +00:00
virtualshelves Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
xt
…
.editorconfig
…
.eslintrc.json Bug 23834: Add default ESLint configuration 2019-11-03 08:02:39 +00:00
.gitignore
…
.htaccess
…
.mailmap
…
.scss-lint.yml
…
INSTALL
…
Koha.pm Bug 23081: DBRev 19.11.05.004 2020-05-08 21:22:48 +00:00
LICENSE
…
MANIFEST.SKIP
…
Makefile.PL Bug 24445: Add z3950 to makefile (bug 13937 follow-up) 2020-01-18 15:05:48 +00:00
README
…
README.md
…
README.robots
…
about.pl Bug 24327: Add warning to the about page is AnonSugggestions but AnonymousPatron 2020-01-14 01:20:26 +00:00
changelanguage.pl
…
fix-perl-path.PL
…
gulpfile.js
…
help.pl
…
koha_perl_deps.pl
…
kohaversion.pl
…
mainpage.pl
…
package.json Bug 23025: security vulnerability detected in fstream < 1.0.12 defined in yarn.lock 2019-11-27 11:30:17 +00:00
rewrite-config.PL Bug 17851: Add elasticsearch config to koha-conf.xml 2019-10-07 14:09:10 +01:00
yarn.lock Bug 23025: Update yarn.lock 2019-11-27 11:30:17 +00:00

README.md

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo