Koha/installer/data/mysql
Matthias Meusburger fc95762725 Bug 3206: OAI repository deleted records support.
This patch allows Koha OAI repository to support deleted records.

The OAI-PMH:DeletedRecord syspref is introduced and can be set to:

- persistent (in case Koha's deletedbiblio table will never be emptied
  or truncated)
- transient (in case Koha's deletedbiblio table might be emptied or
  truncated at some point)

Test plan:

- After applying the patch, test that:
   - Deleted records appear in ListRecords and ListIdentifiers requests.
   - Filter parameters (from, until, set and resumptionToken) still work
     and are applied to ListRecords and ListIdentifiers requests.
   - Identify request shows if the repository is considered persistent
     or transient, according to the OAI-PMH:DeletedRecord syspref.
   - Deleted records that used to belong to a set are still displayed in
     those sets and marked as deleted.
   - GetRecord requests work on deleted records, which are marked as deleted.

Requests examples:
/cgi-bin/koha/oai.pl?verb=ListRecords&metadataPrefix=oai_dc
/cgi-bin/koha/oai.pl?verb=ListRecords&metadataPrefix=oai_dc&from=2015-02-20T11:08:33Z
/cgi-bin/koha/oai.pl?verb=ListRecords&metadataPrefix=oai_dc&set=new_specSet1
/cgi-bin/koha/oai.pl?verb=GetRecord&identifier=KOHA-OAI-TEST:2&metadataPrefix=oai_dc
/cgi-bin/koha/oai.pl?verb=Identify

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
  It works in all situations described in the test plan. Great addition.
  Thanks.

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-07-08 14:55:12 -03:00
..
atomicupdate Bug 3206: OAI repository deleted records support. 2015-07-08 14:55:12 -03:00
de-DE Bug 13014: (follow-up) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:07 -03:00
en Bug 13014: Notify budget owner on new suggestion - sample notices 2015-06-24 11:41:36 -03:00
es-ES Bug 13014: (follow-up) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:07 -03:00
fr-FR Bug 13014: (follow-up) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:07 -03:00
it-IT Bug 13014: (follow-up) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:07 -03:00
mandatory Bug 14285: Bengali locale needs to be re-defined 2015-06-01 15:22:27 -03:00
nb-NO Bug 13014: (follow-up) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:07 -03:00
pl-PL Bug 13014: (follow-up) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:07 -03:00
ru-RU Bug 13014: (follow-up 2) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:12 -03:00
uk-UA Bug 13014: (follow-up 2) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:12 -03:00
backfill_statistics.pl
kohastructure.sql Bug 3206: OAI repository deleted records support. 2015-07-08 14:55:12 -03:00
labels_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
patroncards_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
sysprefs.sql Bug 3206: OAI repository deleted records support. 2015-07-08 14:55:12 -03:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 9942: DBRev 3.21.00.013 2015-07-07 15:16:43 -03:00