]> git.koha-community.org Git - koha.git/commit
Bug 7505 Superlibrarian can't export all biblios when IndependantBranches is enabled
authorFrédéric Demians <f.demians@tamil.fr>
Mon, 6 Feb 2012 19:00:24 +0000 (20:00 +0100)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 20 Feb 2012 03:27:44 +0000 (22:27 -0500)
commitdb296b7bb739262c6c9177824cda39edbe7cb68f
treef320c32e76c9faa1482f2fa7875ad1a4b8181bd4
parente779f18eef4cbc92b523d27cef836a687cd71ef6
Bug 7505 Superlibrarian can't export all biblios when IndependantBranches is enabled

When a Koha user has superlibrarian permissions, and if
IndependantBranches is enabled, in Tools > Export bibliographic and
holdings, this user can't export all biblio records. He will just export
the biblio from the branch he belongs to.

This patch fix that.

To test:

  - Do a ALL records export as superlibrian on a multi-branches Koha instance
  - Examine the resulting MARC file with the tool of your choice (MArcEdit,
    yaz-marcdump, etc.)
  - You will see that 952/995 contains exlusively items from your branch (as
    Koha user)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 78f2ac28626196950891dc562714f8d463f5f9bd)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
(cherry picked from commit 4140acb9bf7e5b477041fa91304a78c720dc69e3)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
tools/export.pl