[Koha-bugs] [Bug 12896] Move the bookseller-related code into its own module

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 24 14:55:43 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12896

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33332|0                           |1
        is obsolete|                            |
  Attachment #33333|0                           |1
        is obsolete|                            |

--- Comment #30 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 33855
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33855&action=edit
Bug 12896: Move the bookseller-related code into Koha::Acquisition::Bookseller

The C4::Acquisition module should be exploded in order to add
readability and maintainability to this part of the code.

This patch is a POC, it introduces a new Koha::Acquisition::Bookseller module
and put in
it the code from GetBookSeller and GetBookSellerFromId.

Test plan:
1/ Create a bookseller, modify it.
2/ Add contacts for this bookseller
3/ Create an order, receive it, transfer it
4/ Launch the prove command on all unit tests modified by this patch and
verify that all pass.

Signed-off-by: Paola Rossi <paola.rossi at cineca.it>

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list