https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39835

--- Comment #11 from Katrin Fischer <[email protected]> ---
2) Item

Same as last comment, but for Item.

3) Also tab here is 1-10 (the tab to display on):

index 24a15f7e824..0dd90736f43 100644
--- a/Koha/Schema/Result/AuthSubfieldStructure.pm
+++ b/Koha/Schema/Result/AuthSubfieldStructure.pm
@@ -220,6 +220,12 @@ __PACKAGE__->belongs_to(
 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-01-19 06:49:06
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c6rPINoF/ZP4YzXU1VR+UQ

+__PACKAGE__->add_columns(
+    '+isurl'  => { is_boolean => 1 },
+    '+linkid' => { is_boolean => 1 },
+    '+tab'    => { is_boolean => 1 },
+);

4) Same as before, tab AND hidden are wrong:

Hidden takes numeric values.

+++ b/Koha/Schema/Result/MarcSubfieldStructure.pm
@@ -233,6 +233,10 @@ __PACKAGE__->belongs_to(
 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-12-10 09:06:23
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KVbDXEVf96eDkbPYpcmQVA

+__PACKAGE__->add_columns(
+    '+hidden' => { is_boolean => 1 },
+    '+isurl'  => { is_boolean => 1 },
+    '+tab'    => { is_boolean => 1 },
+);

5) Very doubtful about rating_value:

-# You can replace this text with custom content, and it will be preserved on
regeneration
 1;
diff --git a/Koha/Schema/Result/Rating.pm b/Koha/Schema/Result/Rating.pm
index a25f1eae727..78ae27d8b27 100644
--- a/Koha/Schema/Result/Rating.pm
+++ b/Koha/Schema/Result/Rating.pm
@@ -121,6 +121,8 @@ __PACKAGE__->belongs_to(
 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wUwI/h1WR8kVGMNCrv/tUQ

+__PACKAGE__->add_columns(
+    '+rating_value' => { is_boolean => 1 },
+);

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to