Bug 34478: Manual fix - change 'phase' to 'op' add cud- - mana-share-report
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
db040fa49a
commit
7c56ebade7
2 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
|||
<li><span class="label">Notes: </span><div id="shared_notes"></div></li>
|
||||
[% IF (languages_loop) %]
|
||||
<li>
|
||||
<input type="hidden" name="phase" value="Share">
|
||||
<input type="hidden" name="op" value="cud-share">
|
||||
<label for="mana_language">Language:</label>
|
||||
<select id="mana_language" name="mana_language">
|
||||
[% FOREACH languages_loo IN languages_loop %]
|
||||
|
@ -93,4 +93,4 @@
|
|||
</form> <!-- /#mana_share_form -->
|
||||
</div> <!-- /.modal-content -->
|
||||
</div> <!-- /.modal-dialog -->
|
||||
</div> <!-- /#mana_share_report -->
|
||||
</div> <!-- /#mana_share_report -->
|
||||
|
|
|
@ -598,7 +598,7 @@ elsif ( $op eq 'cud-save' ) {
|
|||
}
|
||||
}
|
||||
|
||||
elsif ($op eq 'share'){
|
||||
elsif ($op eq 'cud-share'){
|
||||
my $lang = $input->param('mana_language') || '';
|
||||
my $reportid = $input->param('reportid');
|
||||
my $result = Koha::SharedContent::send_entity($lang, $borrowernumber, $reportid, 'report');
|
||||
|
|
Loading…
Reference in a new issue