Skip to content

Commit

Permalink
webui: adjust http requests in media module views
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Apr 17, 2023
1 parent d5bed89 commit a0f7351
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions webui/module/Media/view/media/media/details.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* bareos-webui - Bareos Web-Frontend
*
* @link https://github.com/bareos/bareos for the canonical source repository
* @copyright Copyright (C) 2013-2022 Bareos GmbH & Co. KG (http://www.bareos.org/)
* @copyright Copyright (C) 2013-2023 Bareos GmbH & Co. KG (http://www.bareos.org/)
* @license GNU Affero General Public License (http://www.gnu.org/licenses/)
*
* This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -195,7 +195,7 @@ $this->headTitle($title);
function attachVolumeTable() {
$('#volume').bootstrapTable({
locale: '<?php echo str_replace('_','-', $_SESSION['bareos']['locale']); ?>',
url: '<?php echo $this->url('media', array('action' => 'getData'), null) . '?data=details&volume=' . $this->volume; ?>',
url: '<?php echo $this->url('api/media', array(), array()) . '?volume=' . $this->volume; ?>',
method: 'get',
dataType: 'json',
detailView: true,
Expand Down Expand Up @@ -252,7 +252,7 @@ $this->headTitle($title);
locale: '<?php echo str_replace('_','-', $_SESSION['bareos']['locale']); ?>',
cookie: <?php echo $_SESSION['bareos']['dt_statesave']; ?>,
cookieIdTable: 'vol_jobs',
url: '<?php echo $this->url('media', array('action' => 'getData'), null) . '?data=jobs&volume=' . $this->volume; ?>',
url: '<?php echo $this->url('api/media', array(), null) . '?filter=jobs&volume=' . $this->volume; ?>',
method: 'get',
dataType: 'json',
pagination : true,
Expand Down
4 changes: 2 additions & 2 deletions webui/module/Media/view/media/media/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* bareos-webui - Bareos Web-Frontend
*
* @link https://github.com/bareos/bareos for the canonical source repository
* @copyright Copyright (c) 2013-2022 Bareos GmbH & Co. KG (http://www.bareos.org/)
* @copyright Copyright (c) 2013-2023 Bareos GmbH & Co. KG (http://www.bareos.org/)
* @license GNU Affero General Public License (http://www.gnu.org/licenses/)
*
* This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -164,7 +164,7 @@ $this->headTitle($title);
locale: '<?php echo str_replace('_','-', $_SESSION['bareos']['locale']); ?>',
cookie: <?php echo $_SESSION['bareos']['dt_statesave']; ?>,
cookieIdTable: 'vol_index',
url: '<?php echo $this->url('media', array('action' => 'getData'), null) . '?data=all'; ?>',
url: '<?php echo $this->url('api/media', array(), array()); ?>',
method: 'get',
dataType: 'json',
pagination : true,
Expand Down

0 comments on commit a0f7351

Please sign in to comment.