https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37398
Katrin Fischer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rel_25_05_candidate | --- Comment #59 from Katrin Fischer <[email protected]> --- (In reply to Marcel de Rooy from comment #57) > + my $columns = Koha::Items->_resultset->result_source->columns_info; > + $subfield_data{data_type} = > + defined $subfield->{kohafield} ? $columns->{ $subfield->{kohafield} > =~ s|^items\.||r }->{data_type} : undef; > Actually, is it possible to have an item subfield without a kohafield ? (No > blocker) Yes, if you leave kohafield empty/NULL, then Koha will store the information in more_subfields_xml. It allows to add extra fields where we don't have a database column. But then they cannot be of the type date at the same time... right? -- 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/
