From d856450d5d883d5454d0e9e3efaed2955ec3ba6c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 20 Mar 2025 11:44:53 +0000 Subject: [PATCH] Bug 39325: (follow-up) A few minor corrections --- .codespell-ignore | 2 ++ Koha/Misc/Files.pm | 2 +- koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc | 4 ++-- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 2 +- t/db_dependent/Koha/Patrons/Import.t | 2 +- t/db_dependent/Koha/Subscription/Routinglists.t | 2 +- 7 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.codespell-ignore b/.codespell-ignore index 52d354b9a20..7ba49e57be7 100644 --- a/.codespell-ignore +++ b/.codespell-ignore @@ -14,3 +14,5 @@ gir repet ore sav +theses +rouge diff --git a/Koha/Misc/Files.pm b/Koha/Misc/Files.pm index 98bb95885af..05ac7b6a3c1 100644 --- a/Koha/Misc/Files.pm +++ b/Koha/Misc/Files.pm @@ -150,7 +150,7 @@ my $file = $mf->GetFile( id => $file_id ); For an individual, specific file ID this method returns a hashref containing all metadata (file_id, table_tag, record_id, file_name, file_type, file_description, file_content, date_uploaded), plus -an actually contents of a file (in 'file_content'). In typical usage +actual contents of a file (in 'file_content'). In typical usage scenarios, for a given $mf object, specific file IDs have to be obtained first by GetFilesInfo() call. diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss index 7927c8841da..63deb7d50e2 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss @@ -343,7 +343,7 @@ tr { } } - &.transfered { + &.transferred { td { background-color: #E8F0F6; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc index c6c80de0f8b..01712ec06c7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc @@ -197,9 +197,9 @@ [% END %] [% IF (limits.ctype.0 == 'm' ) %] - + [% ELSE %] - + [% END %] [% IF (limits.ctype.0 == 'n' ) %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt index c91020549e3..71f4b91c742 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt @@ -454,7 +454,7 @@ - + diff --git a/t/db_dependent/Koha/Patrons/Import.t b/t/db_dependent/Koha/Patrons/Import.t index f67eba5a4de..8949574a797 100755 --- a/t/db_dependent/Koha/Patrons/Import.t +++ b/t/db_dependent/Koha/Patrons/Import.t @@ -682,7 +682,7 @@ is( $result_6->{overwritten}, 0, 'Got the expected 0 overwritten result from imp # Given ... 2 new inputs. One without dateofbirth, dateenrolled and dateexpiry values. my $input_complete = - '1009,Christina,Harris,Dr,Philip,CH,99,Street,Grayhawk,Baton Rogue,Dallas,Louisiana,70810,United States,pharris9@hp.com,9-(317)603-5513,7-(005)062-7593,8-(349)134-1627,06/19/1969,IPT,PT,04/09/2015,07/01/2015,pharris9,NcAhcvvnB'; + '1009,Christina,Harris,Dr,Philip,CH,99,Street,Grayhawk,Baton Rouge,Dallas,Louisiana,70810,United States,pharris9@hp.com,9-(317)603-5513,7-(005)062-7593,8-(349)134-1627,06/19/1969,IPT,PT,04/09/2015,07/01/2015,pharris9,NcAhcvvnB'; my $input_no_date = '1010,Ralph,Warren,Ms,Linda,RW,6,Way,Barby,Orlando,Albany,Florida,32803,United States,lwarrena@multiply.com,7-(579)753-7752,6-(847)086-7566,9-(122)729-8226,26/01/2001,LPL,T,25/01/2001,24/01/2001,lwarrena,tJ56RD4uV'; diff --git a/t/db_dependent/Koha/Subscription/Routinglists.t b/t/db_dependent/Koha/Subscription/Routinglists.t index c897c716710..8a558787472 100755 --- a/t/db_dependent/Koha/Subscription/Routinglists.t +++ b/t/db_dependent/Koha/Subscription/Routinglists.t @@ -8,7 +8,7 @@ # (at your option) any later version. # # Koha is distributed in the hope that it will be useful, but -# WITH HOUT ANY WARRANTY; without even the implied warranty of +# WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -- 2.39.5