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

(-)a/Koha/Illrequest.pm (-4 / +1 lines)
Lines 2145-2154 sub get_staff_table_actions { Link Here
2145
        }
2145
        }
2146
    ];
2146
    ];
2147
2147
2148
    my @plugin_responses = Koha::Plugins->call('ill_table_actions');
2148
    Koha::Plugins->call( 'ill_table_actions', \$ill_table_actions );
2149
    for my $plugin_variables (@plugin_responses) {
2150
        push( @{$ill_table_actions}, $plugin_variables );
2151
    }
2152
2149
2153
    return $ill_table_actions;
2150
    return $ill_table_actions;
2154
}
2151
}
(-)a/t/lib/plugins/Koha/Plugin/Test.pm (-8 / +10 lines)
Lines 378-391 sub template_include_paths { Link Here
378
}
378
}
379
379
380
sub ill_table_actions {
380
sub ill_table_actions {
381
    my ( $self ) = @_;
381
    my ( $self, $table_actions ) = @_;
382
382
383
    return {
383
    push(
384
        button_link_text           => 'Test text',
384
        @{$$table_actions},
385
        append_column_data_to_link => 1,
385
        {
386
        button_class               => 'test class',
386
            button_link_text           => 'Test text',
387
        button_link                => 'test link'
387
            append_column_data_to_link => 1,
388
    };
388
            button_class               => 'test class',
389
            button_link                => 'test link'
390
        }
391
    );
389
}
392
}
390
393
391
sub _private_sub {
394
sub _private_sub {
392
- 

Return to bug 35331