Limit show=libs inspection view to packages with screenshots
This commit is contained in:
parent
3a1de72efe
commit
a98398f7a1
2 changed files with 8 additions and 5 deletions
|
|
@ -382,9 +382,10 @@ class PackagesController < ApplicationController
|
|||
packages = packages.without_screenshots
|
||||
logger.debug 'Limiting packages to those without screenshots'
|
||||
when 'libs'
|
||||
# Temporary inspection view: exactly the packages that the libs
|
||||
# section blacklist would remove on the next import
|
||||
packages = packages.where("section ~* '/?(old)?libs$'")
|
||||
# Temporary inspection view: exactly the screenshot-bearing
|
||||
# packages that the libs section blacklist would remove on the
|
||||
# next import
|
||||
packages = packages.where("section ~* '/?(old)?libs$'").with_screenshots
|
||||
end
|
||||
|
||||
packages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue