summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2017-04-19 08:53:30 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2017-04-19 09:13:09 +0200
commit44858e06188946c0082bb09061fcfa6cbb33938b (patch)
treec52a51105fac66a08d0d936b28c60c04b6d051b2 /web/template
parent15501972bce458ad7862786311ca8264f5f34081 (diff)
downloadaur-44858e06188946c0082bb09061fcfa6cbb33938b.tar.gz
aur-44858e06188946c0082bb09061fcfa6cbb33938b.tar.xz
Store dependency descriptions in a separate column
Split optional dependency descriptions from dependency names before storing them in the database and use a separate column to store the descriptions. This allows us to simplify and optimize the SQL queries in pkg_dependencies() as well as pkg_required(). Suggested-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/pkg_details.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index ed8974a3..8a934173 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -277,7 +277,7 @@ endif;
<?php if (count($deps) > 0): ?>
<ul id="pkgdepslist">
<?php while (list($k, $darr) = each($deps)): ?>
- <li><?= pkg_depend_link($darr[0], $darr[1], $darr[2], $darr[3], $darr[4]); ?></li>
+ <li><?= pkg_depend_link($darr[0], $darr[1], $darr[2], $darr[3], $darr[4], $darr[5]); ?></li>
<?php endwhile; ?>
</ul>
<?php endif; ?>