@@ -, +, @@ --------- 1) Home -> Tools -> News 2) Change 'Display location' value and click 'Filter'. - Is the 'Display location' value the same now? (no) - Are the correct values displayed? 3) Click 'New entry' - Is it anything other than 'All'? (no, and is this correct?) 4) Click 'Cancel' 5) Click 'Edit' for various news items with different locations. - Does the 'Display location' get proper set? (no) 6) Apply patch 7) Change the 'Display location' value and click 'Filter'. - Does the 'Display location' value stay the same? (this should be correct now) - Are the correct values displayed? 8) Change the 'Display location' value to 'All' and click 'Filter'. - Does everything display? 9) Change the 'Display location' value and click 'Filter'. - Does it match what the filter was? (should match now) - Does the 'Display location' get proper set? (this should be correct now) --- .../prog/en/modules/tools/koha-news.tt | 79 ++++++++++++++------ tools/koha-news.pl | 2 + 2 files changed, 57 insertions(+), 24 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt @@ -61,23 +61,43 @@ Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %] [% UNLESS ( add_form ) %]
[% END %] [% IF ( add_form ) %] + [% IF ( op == 'add' ) %][% default_lang = lang %] + [% ELSE %][% default_lang = new_detail.lang %] + [% END %]