Unverified Commit bfec5929 authored by Luc Didry's avatar Luc Didry
Browse files

Add a button for full export of subscribers

- Currently, only light export is available, thus export doesn’t contain
  the name of the subscribers. The button solves that.
- The full export always includes a header:
  # Exported subscribers with search filter ""
  But it’s useless and maybe confusing when you use the full export from
  the button. I removed that header if no filter was sent.
parent 4be974c3
......@@ -46,6 +46,9 @@
<a class="actionMenuLinks" href="[% 'export_member' | url_rel([list,'light']) %]">
[%|loc%]Dump[%END%]
</a>
<a class="actionMenuLinks" href="[% 'export_member' | url_rel([list]) %]">
[%|loc%]Dump with names[%END%]
</a>
[% END %]
<a class="actionMenuLinks" href="[% 'show_exclude' | url_rel([list]) %]">
[%|loc%]Exclude[%END%]
......
......@@ -15923,7 +15923,7 @@ sub do_export_member {
. "\n";
} elsif ($format eq 'light') {
;
} else {
} elsif (defined($in{'filter'})) {
printf "# Exported subscribers with search filter \"%s\"\n", $filter;
}
my $searchkey = Sympa::Tools::Text::foldcase($filter)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment