Skip to content

Commit

Permalink
Revert "use new lowercase pkg name"
Browse files Browse the repository at this point in the history
This reverts commit 6afa500.
  • Loading branch information
jeroen committed Jul 21, 2024
1 parent 6afa500 commit 7e11cf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function mongo_package_info(package, universe){
// Try to find pkg elsewhere (nb regex search is slow)
var altquery = {
_type: 'src',
_nocasepkg: package.toLowerCase(),
Package : {$regex: `^${package}$`, $options: 'i'},
_universes: universe,
_registered: true
}
Expand Down
2 changes: 1 addition & 1 deletion views/pkginfo.pug
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ block content
b Dependencies:
span.labels
each dep in _rundeps
a.badge.text-bg-danger.rounded-pill.ms-1(href=`https://cran.dev/${dep}`) #{dep}
a.badge.text-bg-danger.rounded-pill.ms-1(href=`https://r-universe.dev/search?q=package:${dep}`) #{dep}
.package-details-article-list.list-group.pe-0
if _status === 'failure'
.vignette-failure-alert.alert.alert-warning.m-0(role='alert')
Expand Down

0 comments on commit 7e11cf9

Please sign in to comment.