[Koha-bugs] [Bug 13707] Adding a new column datereceived for items and biblioitems

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 16 15:10:15 CET 2015


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

Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> changed:

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

--- Comment #5 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 35933
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35933&action=edit
Bug 13707 - Adding a new column datereceived for items and biblioitems. New
sortable Zebra index.

For new Biblios, this feature is automatically enabled, but if you want to make
your existing biblios searchable, you must update your MARC Records from the
koha DB.

The easiest way is to run
    'misc/batchRebuildBiblioTables.pl --upstream'
to update your MARC Records from the koha DB, but you need to have Bugg 13703
deployed.

After that Zebra needs to be fully reindexed.

TEST PLAN: (index search)

1. Add a new Biblio.
2. Add an Item to it, either via the acquisitions module or the cataloguing
module.
3. Reindex zebra partially with the "./rebuild_zebra.pl -b -z -v" or wait a
while if
   automatic Zebra indexing is enabled in your environment.
4. Make the following search to the search box:
       datereceived=2015-12-04
   where the Date is the day when you added those Items from step 2. (should be
today)
5. You should find the Biblio you just added.

TEST PLAN: (sorting search)

0. You need to prepare a searchable index of Records with the datereceived
indexed.
   The easiest way is to use the batchRebuildBiblioTables.pl
   but some records can be manually created as well.
M. Manual path:
M.1. Add new Biblios, and Items to the using the cataloguing module's
additems.pl.
      You can set the datereceived from the Item-form, so set some Items to
past
      and some Items to have a datereceived in the future. Be aware that the
first
      Item created sets the Parent Biblio's datereceived.
M.2. Make a search which should find all the Biblios you manually made.
ALL PATHS
3. Sort based on the datereceived (Receival date - Newest to oldest)
4. All the Records should be ordered with the most newly received Biblio on
top.

Note: Since we can only put Dates to Zebra, sorting is only based on the
day-portion
of the datereceived. The time-portion is only for potential
statistical/logistical
optimization reasons.

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


More information about the Koha-bugs mailing list