Nothing concrete .
This commit is contained in:
parent
95600facf4
commit
a7ea749d2c
5 changed files with 18 additions and 13 deletions
|
|
@ -336,7 +336,8 @@ namespace isnd.Services
|
|||
// RegistrationPageIndexAndQuery
|
||||
var scope = dbContext.Packages.Include(p => p.Versions).Include(p => p.Owner)
|
||||
.Where(p => p.Id.Equals(query.Query, StringComparison.InvariantCultureIgnoreCase)
|
||||
&& (query.Prerelease || p.Versions.Any(v => !v.IsPrerelease)));
|
||||
&& (query.Prerelease || p.Versions.Any(v => !v.IsPrerelease))
|
||||
&& p.Versions.Count() > 0);
|
||||
var total = scope.Count();
|
||||
var pkgs = scope.Skip(query.Skip).Take(query.Take).ToArray();
|
||||
string bid = $"{extUrl}v3.4.0/{ApiConfig.Registration}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue