]> git.koha-community.org Git - koha.git/commit
Bug 33231: (QA follow-up) Simplify conditional for date display
authorNick Clemens <nick@bywatersolutions.com>
Thu, 13 Apr 2023 16:27:57 +0000 (16:27 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 18 Apr 2023 12:13:51 +0000 (12:13 +0000)
commit09961dff7808d46c1f1ac5d2f90be0622da730d1
tree8678ded2f36637159b9d9b0b16706c8020b73ad0
parent59f6abf66485a68ed9c3374e18a84513a7261fb1
Bug 33231: (QA follow-up) Simplify conditional for date display

This patch simply checks if we have a value for copyrighydate and
displays publicationyear if not. Even if copyrightdate is requested (MARC21)
but isn't populated, the publicatoinyear won't replace it because we
haven't transformed that field.

I think this read a bit easier, but RM can weigh in

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f08d5b53256f5e5db309657a7c3c48b274e379e2)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
C4/Breeding.pm