From 8db664bb1bcf5ba20c0f52b2d45a8ef6713bb25b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 7 Jun 2023 13:44:40 +0200 Subject: [PATCH] Bug 33938: Don't tell the DB is not up-to-date when it is If you hit /cgi-bin/koha/installer/install.pl and that the DB is up-to-date already, the screen shows "We are upgrading from Koha 23.06.00.002 to 23.06.00.002". We should just say that everything is ok Test plan: Have an up-to-date DB, then hit /cgi-bin/koha/installer/install.pl Notice that the message changed and is more correct with the patch applied. --- .../intranet-tmpl/prog/en/modules/installer/step3.tt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt index ffd3d36672d..e56b513ac58 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt @@ -314,8 +314,13 @@ [% IF ( default ) %] [% IF ( upgrading ) %]

Web installer › Update database

-

We are upgrading from Koha [% dbversion | html %] to [% kohaversion | html %]

-

Update your database

+ [% IF dbversion != kohaversion %] +

We are upgrading from Koha [% dbversion | html %] to [% kohaversion | html %]

+

Update your database

+ [% ELSE %] +

The database is up-to-date already (Koha [% kohaversion | html %])

+

Continue to log in to Koha

+ [% END %] [% ELSE %]

Web installer › Install basic configuration settings

-- 2.25.1