Koha-clms/t/db_dependent
Jonathan Druart cb03909af6 Bug 27921: Log correct timestamp for HOLD MODIFY when set waiting
The HOLD MODIFY log at the end of ModReserveAffect is not using an
up-to-date $hold object.

$hold is modified at
1201         $hold->set_waiting($desk_id);
But not refreshed before logged (and so the timestamp is not logged
correctly).

Test plan:
Turn on HoldsLog
Place an item on hold
Check it in to mark it waiting

Confirm that the timestamp logged is the one from the check in, not when
you created the hold

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-01 18:51:37 +02:00
..
Acquisition
…
Auth
…
AuthoritiesMarc
…
Authority
…
Biblio
…
Circulation
…
CourseReserves
…
Creators
…
Exporter
…
Holds
…
Illrequest
…
Items
…
Koha
…
LDAP
…
Labels
…
Letters
…
Members
…
OAI
…
Patron
…
Record
…
Reports
…
Reserves
…
SIP
…
Search
…
Serials
…
Template/Plugin
…
Utils
…
api/v1
…
cronjobs
…
data
…
misc/translator
…
selenium
…
www
…
00-strict.t
…
01-test_dbic.t
…
Accounts.t
…
Acquisition.t
…
Amazon.t
…
ArticleRequests.t
…
AudioAlerts.t
…
Auth.t
…
AuthUtils.t
…
Auth_with_cas.t
…
Auth_with_ldap.t
…
AuthorisedValues.t
…
AuthoritiesMarc.t
…
BackgroundJob.t
…
Barcodes.t
…
Barcodes_ValueBuilder.t
…
Biblio.t
…
Breeding.t
…
Budgets.t
…
Cache.t
…
Calendar.t
…
Charset.t
…
Circulation.t
…
Clubs.t
…
Context.t
…
Contract.t
…
CourseReserves.t
…
DecreaseLoanHighHolds.t
…
Filter_MARC_ViewPolicy.t
…
Fines.t
…
FrameworkPlugin.t
…
Heading.t
…
Heading_MARC21.t
…
Hold.t
…
Holds.t
…
HoldsQueue.t
…
Holidays.t
…
ILSDI_Services.t
…
Illcomments.t
…
Illrequestattributes.t
…
Illrequests.t
…
ImportBatch.t
…
ImportExportFramework.t
…
Installer.t
…
Items.t
…
Koha.t
…
Koha_Authority.t
…
Koha_Database.t
…
Koha_Elasticsearch.t
…
Koha_ExternalContent_OverDrive.t
…
Koha_ExternalContent_RecordedBooks.t
…
Koha_Misc_Files.t
…
Languages.t
…
Letters.t
…
LibraryGroups.t
…
Linker_Default.t
…
Linker_FirstMatch.t
…
Log.t
…
MarcModificationTemplates.t
…
Members.t
…
MungeMarcPrice.t
…
NewsChannels.t
…
Overdues.t
…
Passwordrecovery.t
…
PatronLists.t
…
Patroncards.t
…
Patrons.t
…
Record.t
…
RecordProcessor_EmbedSeeFromHeadings.t
…
Reports.t
…
Reserves.t Bug 27921: Log correct timestamp for HOLD MODIFY when set waiting 2021-04-01 18:51:37 +02:00
RotatingCollections.t
…
Search.t
…
Serials.t
…
Serials_2.t
…
Service.t
…
ShelfBrowser.t
…
Sitemapper.t
…
Stats.t
…
StockRotationItems.t
…
StockRotationRotas.t
…
StockRotationStages.t
…
SuggestionEngine_ExplodedTerms.t
…
Suggestions.t
…
TablesSettings.t
…
Tags.t
…
Templates.t
…
TestBuilder.t
…
Upload.t
…
UsageStats.t
…
Virtualshelves.t
…
XISBN.t
…
XSLT.t
…
check_kohastructure.t
…
check_sysprefs.t
…
db_structure.t
…
rollingloans.t
…
sysprefs.t
…
yaml.t
…
zebra_config.pl
…