From 3beb9a1c6a6d5df15ac0fc3d856b44c9da2faeec Mon Sep 17 00:00:00 2001 From: Rasmus Fuhse <fuhse@data-quest.de> Date: Tue, 11 Jul 2023 12:46:12 +0000 Subject: [PATCH] Resolve "OER: Man verliert die Suchergebnisse, wenn man Material anschaut" Closes #2831 Merge request studip/studip!1917 --- app/views/oer/market/_material_short.php | 2 +- app/views/oer/market/_searchform.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/oer/market/_material_short.php b/app/views/oer/market/_material_short.php index 227b8a1233a..d863b6ad2ef 100644 --- a/app/views/oer/market/_material_short.php +++ b/app/views/oer/market/_material_short.php @@ -5,7 +5,7 @@ */ ?> <article class="contentbox"> - <a href="<?= $controller->link_for('oer/market/details', $material) ?>"> + <a href="<?= $controller->link_for('oer/market/details', $material) ?>" target="_blank"> <header> <h1> <?= $material->getIcon()->asImg(['class' => 'text-bottom']) ?> diff --git a/app/views/oer/market/_searchform.php b/app/views/oer/market/_searchform.php index 995eb9cbec2..f0e883a53be 100644 --- a/app/views/oer/market/_searchform.php +++ b/app/views/oer/market/_searchform.php @@ -162,7 +162,7 @@ <ul class="results oer_material_overview" v-if="results && results.length > 0"> <li v-for="result in results" :key="result.material_id"> <article class="contentbox" :title="result.name"> - <a :href="getMaterialURL(result.material_id)"> + <a :href="getMaterialURL(result.material_id)" target="_blank"> <header> <h1> <studip-icon :shape="getIconShape(result)" -- GitLab