This commit is contained in:
Dennis Eichhorn 2023-10-20 16:53:42 +00:00
parent e21d0d85a9
commit e2a2a9ed41

View File

@ -83,7 +83,7 @@ echo $this->data['nav']->render(); ?>
</label> </label>
<tbody> <tbody>
<?php $count = 0; foreach ($positions as $key => $value) : ++$count; <?php $count = 0; foreach ($positions as $key => $value) : ++$count;
$url = \phpOMS\Uri\UriFactory::build('organization/position/profile?{?}&id=' . $value->id); ?> $url = \phpOMS\Uri\UriFactory::build('{/base}/organization/position/profile?{?}&id=' . $value->id); ?>
<tr tabindex="0" data-href="<?= $url; ?>"> <tr tabindex="0" data-href="<?= $url; ?>">
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $value->id; ?></a> <td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $value->id; ?></a>
<td data-label="<?= $this->getHtml('Name'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->name); ?></a> <td data-label="<?= $this->getHtml('Name'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->name); ?></a>