Bugzilla – Attachment 71816 Details for
Bug 20191
OAI/Server.t still fails on slow servers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20191: Use find with unique key combination
Bug-20191-Use-find-with-unique-key-combination.patch (text/plain), 1.13 KB, created by
Jonathan Druart
on 2018-02-16 15:14:37 UTC
(
hide
)
Description:
Bug 20191: Use find with unique key combination
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-02-16 15:14:37 UTC
Size:
1.13 KB
patch
obsolete
>From b38c25770d3b6ba49a27156f3d5e92dc3160b703 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 16 Feb 2018 12:12:00 -0300 >Subject: [PATCH] Bug 20191: Use find with unique key combination > >To prevent unexpected issues later. >--- > t/db_dependent/OAI/Server.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/OAI/Server.t b/t/db_dependent/OAI/Server.t >index be56bc3b0a..87d5c8b557 100644 >--- a/t/db_dependent/OAI/Server.t >+++ b/t/db_dependent/OAI/Server.t >@@ -353,8 +353,8 @@ subtest 'Bug 19725: OAI-PMH ListRecords and ListIdentifiers should use biblio_me > $record->append_fields(MARC::Field->new(999, '', '', z => '_')); > ModBiblio( $record, $biblionumber ); > my $from_dt = dt_from_string( >- Koha::Biblio::Metadatas->search({ biblionumber => $biblionumber }) >- ->next->timestamp ); >+ Koha::Biblio::Metadatas->find({ biblionumber => $biblionumber, format => 'marcxml', marcflavour => 'MARC21' })->timestamp >+ ); > my $from = $from_dt->ymd . 'T' . $from_dt->hms . 'Z'; > $oaidc[0]->{header}->{datestamp} = $from; > >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20191
:
71673
|
71816
|
72009
|
73669
|
73684
|
73685