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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Apr 2023 14:35:36 +0000 (11:35 -0300)
commitf08d5b53256f5e5db309657a7c3c48b274e379e2
treeaee1d278002ebf0dad35a2974388b323de99fb01
parent7849a7e75f3df51b362f84e083899c99781feb58
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>
C4/Breeding.pm