[Koha-bugs] [Bug 17778] New: Make "Earliest Registered Date" in OAI-PMH dynamic

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 15 09:41:31 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17778

            Bug ID: 17778
           Summary: Make "Earliest Registered Date" in OAI-PMH dynamic
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Web services
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: magnus at libriotech.no
        QA Contact: testopia at bugs.koha-community.org

The value of earliestDatestamp is hardcoded on line 37 of
Koha/OAI/Server/Identify.pm:

         earliestDatestamp   => '0001-01-01',

http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=Koha/OAI/Server/Identify.pm;h=3ab21889568ae41a216f717eddd6f15cc2c48b44;hb=HEAD#l37

It should not be too hard to replace this with the output of something like
this:

SELECT DATE(MIN(timestamp)) FROM biblio;

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


More information about the Koha-bugs mailing list