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

(-)a/Koha/Illrequest.pm (-4 / +1 lines)
Lines 2025-2034 sub get_staff_table_actions { Link Here
2025
        }
2025
        }
2026
    ];
2026
    ];
2027
2027
2028
    my @plugin_responses = Koha::Plugins->call('ill_table_actions');
2028
    Koha::Plugins->call( 'ill_table_actions', \$ill_table_actions );
2029
    for my $plugin_variables (@plugin_responses) {
2030
        push( @{$ill_table_actions}, $plugin_variables );
2031
    }
2032
2029
2033
    return $ill_table_actions;
2030
    return $ill_table_actions;
2034
}
2031
}
(-)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