Main Koha release repository https://koha-community.org
Find a file
Tomas Cohen Arazi 430be3e9f3
Bug 23843: Add mapping to Koha::Library
This patch adds a to_api_mapping method to the class. This in effect
enables calling ->to_api on the object. The mapping is borrowed from the
API controller. It is not removed from the controller so we are able to
verify (through the tests) that there is no behavior change.
Once this is pushed we need to implement the counter-wise methods and
clean the controllers.
To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/libraries.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests still pass!
4. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-10-23 18:03:11 +01:00
acqui Bug 14669: Add search option for managing library to orders search 2019-10-08 14:04:48 +01:00
admin Bug 23772: Revert to passing itemtype objects to the template 2019-10-15 14:10:07 +01:00
api/v1 Bug 17005: Add plugin parameters to /checkouts endpoint 2019-10-08 14:33:39 +01:00
authorities
basket Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
C4 Bug 22445: Custom cover images - opac results 2019-10-22 15:02:48 +01:00
catalogue Bug 22445: Custom cover images - detail (staff) 2019-10-22 15:02:50 +01:00
cataloguing Bug 15497: Limit itemtypes by branch in additem.pl 2019-09-12 16:31:06 +01:00
circ Bug 23551: Fix AddRenewal call in circ/renew.pl 2019-10-17 14:40:47 +01:00
clubs
course_reserves
debian Bug 23346: Add without-db-name parameter to koha-dump 2019-10-21 10:02:58 +01:00
docs Update docs/teams.yaml for 19.11.x development cycle 2019-10-22 15:15:33 +01:00
errors
etc Bug 13937: Fix the daemon log path. 2019-10-08 14:40:12 +01:00
ill
installer Bug 22445: DBRev 19.06.00.042 2019-10-22 15:05:56 +01:00
Koha Bug 23843: Add mapping to Koha::Library 2019-10-23 18:03:11 +01:00
koha-tmpl Bug 22445: Replace %% with {} 2019-10-22 15:02:51 +01:00
labels
members Bug 17140: Make rounding syspref controlled 2019-10-11 10:52:44 +01:00
misc Bug 20434: Add default authority type 2019-10-17 15:02:47 +01:00
offline_circ
opac Bug 22445: Custom cover images - opac user (checkout list) 2019-10-22 15:02:50 +01:00
OpenILS Bug 9239 QA follow-up: remove stray debug code 2013-03-16 21:32:34 -04: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 23626: Only fetch full chart data if requested 2019-10-09 14:31:39 +01:00
reserve Bug 22922: Use jQuery datepicker instead of <input type="date"> 2019-10-21 10:01:01 +01:00
reviews
rotating_collections
serials Bug 23435: Add multiple copies of an item when receiving in serials 2019-10-17 14:59:40 +01:00
services
skel Bug 11078: Add locking to rebuild_zebra 2014-02-28 22:21:41 +00:00
suggestion
svc Bug 23390: Introduce placeholder syntax for report column names 2019-08-13 11:46:06 +01:00
t Bug 23843: Make funds endpoint tests more robust 2019-10-23 18:02:47 +01: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 22996: Move barcode separators to a preference 2019-09-10 09:34:34 +01:00
virtualshelves Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
xt Bug 21576: Keep compatibility with QA script 2018-10-26 17:09:52 +00:00
.editorconfig Bug 12545: Add EditorConfig.org file to the source tree 2014-08-22 11:07:45 -03:00
.gitignore
.htaccess
.mailmap
.scss-lint.yml
about.pl Bug 14570: Add about.pl entry for wrong relationship data 2019-08-20 16:06:36 +01:00
changelanguage.pl
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL Bug 17626: Remove existing install instructions and link to the wiki pages instead 2016-11-22 11:29:07 +00:00
Koha.pm Bug 22445: DBRev 19.06.00.042 2019-10-22 15:05:56 +01:00
koha_perl_deps.pl
kohaversion.pl Bug 13758: Move the Koha version from kohaversion.pl 2015-05-07 11:39:04 -03:00
LICENSE
mainpage.pl
Makefile.PL Bug 17851: Add elasticsearch config to koha-conf.xml 2019-10-07 14:09:10 +01:00
MANIFEST.SKIP
package.json
README
README.md Bug 15465: Fix typo in bugs.k-c.org 2017-05-26 11:45:31 -03:00
README.robots Bug 6411 add another example to README.robots 2011-07-05 14:48:05 +12:00
rewrite-config.PL Bug 17851: Add elasticsearch config to koha-conf.xml 2019-10-07 14:09:10 +01:00
yarn.lock Bug 19474: Convert staff client CSS to SCSS 2018-08-09 15:12:20 +00:00

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