[Koha-bugs] [Bug 13182] When placing an order from a staged file, check for duplicates, display availability information, choose to overlay matched records.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 18 05:56:24 CEST 2015


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

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33376|0                           |1
        is obsolete|                            |

--- Comment #11 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 38113
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38113&action=edit
Bug 13182 - When placing an order from a staged file, check for duplicates,
display availability information.

When making acquisitions from one staged file, by many branches as a joint
effort, it is important to be able to
make orders from the same import_record and to know how many Items have already
been ordered.

Also introduces misc/maintenance/matchAllStagedRecords.pl to recreate
import_record matchings based on the given
matcher.

This places some extra requirements.
1. An status = 'imported' import_record needs to be shown in the stage_file so
other branches can order from it as
   well. So we can't "hide" a import_record from the staged_file after an order
is placed.
2. Having imported one import_record, that import_record must know it is
matched to the just imported Biblio,
   so next acquirers know that it is already in our catalog.
3. We need to know which other branches have already ordered the item so we
wont end up ordering too many copies
   of one Biblio to the consortium. Thus we color each row and show the count
of Items in the current user's
   branch and the total amount of Items in the whole consortium. Additional
tooltip listing of Item counts by
   Branch is displayed so we know are there any such Items near us.

TEST PLAN:

SETUP:

0a. Define a Matcher from admin/matching-rules.pl. We think good starting
values are:
Search index,         Tag , score
ISBN,                 020a, 1000
Identifier-standard,  024a, 1000
Identifier-standard,  028a, 1000
Title,                245a, 500
Title-uniform,        240a, 500
Personal-name,        110a, 300
Corporate-name,       100a, 300
Matching threshold 800
    You can use an existing matcher as well if you have it configured to other
than ISBN.

0b. Stage a MARC file.

BASIC USAGE:

1. Start making an order from a staged_file, stop when you see the
import_records after you selected the batch
   to order from at
   acqui/addorderiso2709.pl?import_batch_id=50...
2. If you have matches, they are colored and the Item counts are visible. If
not, order any item and return to
   the previous view and reload.
3. Observe that you should now have atleast one match. The match displays the
amount of items in your branch,
   in your consortium, and a tooltip from the record title, showing a breakdown
of items by branch.
4. When you add more orders, you get more order lines, but all orders are for
the same Biblio, thus you don't
   get many Biblios for many orderlines.

UNLEASH THE HOUNDS OF ACQUISITIONS:

1. Order a bunch of biblios and items for homebranch A. Make sure that you get
the ordered orderlines in your
   basket.
2. Order a bunch of biblios and items for homebranch B.
3. Order a bunch of biblios and items for homebranch C.
4. Observe that the biblios already ordered into your catalogue are colored and
a number is in front of the
   title. First number is the count of Items for this Biblio in user's
logged-in-branch, second is the total
   number of Items in the catalogue. Hovering mouse pointer over the title
displays a tooltip with a breakdown
   of all Items by homebranch.

TODO: Unit tests.

NOTE: Please check rebase I did.

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


More information about the Koha-bugs mailing list