View | Details | Raw Unified | Return to bug 23590
Collapse All | Expand All

(-)a/admin/columns_settings.yml (+4 lines)
Lines 126-131 modules: Link Here
126
          columnname: managed_by
126
          columnname: managed_by
127
        -
127
        -
128
          columnname: managed_on
128
          columnname: managed_on
129
        -
130
          columnname: lastmodificationby
131
        -
132
          columnname: lastmodificationdate
129
        -
133
        -
130
          columnname: library
134
          columnname: library
131
        -
135
        -
(-)a/installer/data/mysql/atomicupdate/bug_23590.perl (-1 / +1 lines)
Lines 11-17 if( CheckVersion( $DBversion ) ) { Link Here
11
    }
11
    }
12
    if( !column_exists( 'suggestions', 'lastmodificationdate' ) ) {
12
    if( !column_exists( 'suggestions', 'lastmodificationdate' ) ) {
13
        $dbh->do(q|
13
        $dbh->do(q|
14
            ALTER TABLE suggestions ADD COLUMN lastmodificationdate DATE DEFAULT NULL
14
            ALTER TABLE suggestions ADD COLUMN lastmodificationdate DATE DEFAULT NULL AFTER lastmodificationby
15
        |);
15
        |);
16
    }
16
    }
17
17
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt (-1 / +1 lines)
Lines 174-180 Link Here
174
                    [% ELSIF patrons_with_suggestion_perm_only %]
174
                    [% ELSIF patrons_with_suggestion_perm_only %]
175
                    ,{
175
                    ,{
176
                        'name': 'has_permission',
176
                        'name': 'has_permission',
177
                        'value': 'acquisition.suggestions_manage',
177
                        'value': 'suggestions.suggestions_manage',
178
                    }
178
                    }
179
                    [% END %]
179
                    [% END %]
180
                    );
180
                    );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-1 / +1 lines)
Lines 581-587 Link Here
581
                    <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>
581
                    <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>
582
                </td>
582
                </td>
583
                <td data-order="[% suggestions_loo.lastmodificationdate | html %]">
583
                <td data-order="[% suggestions_loo.lastmodificationdate | html %]">
584
                    [% IF ( suggestions_loo.lastmodificationdate ) %] - [% suggestions_loo.lastmodificationdate | $KohaDates %][% END %]
584
                    [% IF ( suggestions_loo.lastmodificationdate ) %][% suggestions_loo.lastmodificationdate | $KohaDates %][% END %]
585
                </td>
585
                </td>
586
                <td>
586
                <td>
587
                    [% Branches.GetName( suggestions_loo.branchcode ) | html %]
587
                    [% Branches.GetName( suggestions_loo.branchcode ) | html %]
(-)a/suggestion/add_user_search.pl (-2 / +1 lines)
Lines 33-39 my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( Link Here
33
        query           => $input,
33
        query           => $input,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
35
        authnotrequired => 0,
36
        flagsrequired   => { acquisition => 'suggestions_manage' },
36
        flagsrequired   => { suggestions => 'suggestions_manage' },
37
    }
37
    }
38
);
38
);
39
39
40
- 

Return to bug 23590