- Ensure that the sequence of columns will be the same for new
and updated installations (add AFTER ...)
- Fix permissions (see bug 22868)
- Fix column configuration (see 16784)
- Remove '- ' displying before the date
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
-
columnname: managed_on
-
+ columnname: lastmodificationby
+ -
+ columnname: lastmodificationdate
+ -
columnname: library
-
columnname: library_fund
}
if( !column_exists( 'suggestions', 'lastmodificationdate' ) ) {
$dbh->do(q|
- ALTER TABLE suggestions ADD COLUMN lastmodificationdate DATE DEFAULT NULL
+ ALTER TABLE suggestions ADD COLUMN lastmodificationdate DATE DEFAULT NULL AFTER lastmodificationby
|);
}
[% ELSIF patrons_with_suggestion_perm_only %]
,{
'name': 'has_permission',
- 'value': 'acquisition.suggestions_manage',
+ 'value': 'suggestions.suggestions_manage',
}
[% END %]
);
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% suggestions_loo.lastmodificationby | uri %]">[% suggestions_loo.surnamelastmodificationby | html %][% IF ( suggestions_loo.firstnamelastmodificationby ) %], [% suggestions_loo.firstnamelastmodificationby | html %][% END %]</a>
</td>
<td data-order="[% suggestions_loo.lastmodificationdate | html %]">
- [% IF ( suggestions_loo.lastmodificationdate ) %] - [% suggestions_loo.lastmodificationdate | $KohaDates %][% END %]
+ [% IF ( suggestions_loo.lastmodificationdate ) %][% suggestions_loo.lastmodificationdate | $KohaDates %][% END %]
</td>
<td>
[% Branches.GetName( suggestions_loo.branchcode ) | html %]
query => $input,
type => "intranet",
authnotrequired => 0,
- flagsrequired => { acquisition => 'suggestions_manage' },
+ flagsrequired => { suggestions => 'suggestions_manage' },
}
);