# may need to add some back in for paging.
my $url = "https://" . $self->apache->hostname .
- $self->ctx->{opac_root} . "/myopac/lists";
+ $self->ctx->{opac_root} . "/myopac/lists?";
+
+ $url .= 'sort=' . uri_escape($cgi->param("sort")) if $cgi->param("sort");
if ($action eq 'create') {
$list = Fieldmapper::container::biblio_record_entry_bucket->new;
</div>
<form action="[% ctx.opac_root %]/myopac/list/update" method="POST">
<input type="hidden" name="list" value="[% bbag.id %]" />
+ <input type="hidden" name="sort" value="[% CGI.param('sort') | uri %]" />
<table cellpadding='0' cellspacing='0' border='0'>
<thead id="acct_list_header">
<tr>
<td width="32%">
[% l('Notes') %]
[% IF CGI.param("edit_notes") != bbag.id %]
- | <a href="[% ctx.opac_root %]/myopac/lists?edit_notes=[% bbag.id %]">[% l('Edit') %]</a>
+ | <a href="[% ctx.opac_root %]/myopac/lists?[% IF CGI.param('sort'); 'sort='; (CGI.param('sort')) | uri; '&'; END %]edit_notes=[% bbag.id %]">[% l('Edit') %]</a>
[% END %]
</td>
<td width="1%" class="nowrap">