Show database architecture in package search table

Otherwise it can be confusing why any-arch packages show up
twice and it is also unclear to which repository they belong.
This commit is contained in:
Martchus 2023-05-31 23:52:29 +02:00
parent 81b6a6167c
commit 9113015294
1 changed files with 3 additions and 0 deletions

View File

@ -112,6 +112,9 @@ function showPackageSearchResults(ajaxRequest)
columnAccessors: ['checkbox', 'arch', 'db', 'name', 'version', 'description', 'buildDate'],
rowsPerPage: 40,
customRenderer: {
db: function (value, row) {
return document.createTextNode(Utils.makeRepoName(row.db, row.dbArch));
},
name: function (value, row) {
return PackageRendering.renderPackageDetailsLink(row);
},