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

--- Comment #28 from Janusz Kaczmarek <[email protected]> ---
Arthur, just another remark.  It seems that the template
cataloguing/record_source.tt was prepared to display the current record source
if already set.  But it is not shown because the current record source
(current_source.record_source_id) is not passed in the template call.

The following change would be a possible fix:

diff --git a/cataloguing/record_source.pl b/cataloguing/record_source.pl
index 1005e1aa1f..61579ef5d6 100755
--- a/cataloguing/record_source.pl
+++ b/cataloguing/record_source.pl
@@ -62,6 +62,7 @@ my $record_sources = Koha::RecordSources->search();
 $template->param(
     biblio   => $biblio,
     record_sources => $record_sources,
+    current_source => { record_source_id =>
$biblio->metadata->record_source_id },
 );

-- 
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