Bug 30920: (QA follow-up) Use get_dirty_columns to avoid DB query
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 10 Mar 2023 12:07:26 +0000 (09:07 -0300)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 14 Mar 2023 10:10:08 +0000 (10:10 +0000)
commit65da256011a3576fd5d5d3f0d13c9ef480b862e2
treeb11cda1d76adb3482adb8d25efb9963356f7d19c
parent721fa4a634c71e97a4f5b1dc251402f699f5c7e2
Bug 30920: (QA follow-up) Use get_dirty_columns to avoid DB query

We can rely on DBIC's get_dirty_columns to check if the descriptions
have changed, and set things for flushing without an extra DB query.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a44f03c7156cce4ff1ae55da3772f98e7b5e89b6)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/AuthorisedValue.pm