Added Package Search #395

merged 3 commits into from Jan 11, 2015


None yet

2 participants

f0o commented Jan 6, 2015


Search for Packages with version comparison (<, <=, =, >=, >) and architecture filter.

The search-term is expanded to the left and right to match package names. Example: apt will match aptitude as well as libapt.

I would prefer replacing the current /packages/ page with this file because it's more user-friendly and adds pagination and filters which is handy on a install with many packages. Please comment on this prior merge so I can change the links in case we agree on this

laf commented Jan 6, 2015

Looks good to me, one comment would be either to change the 'Name' label in the search box to Packages or change the column Package in the results to Name (i'd say choose the former).

Also tested and works well.

@f0o f0o Replace Packages-link in menubar with Packages-Search.
Rewrote inclusion code in `html/pages/`.
Added replacement for `:` character in versions to level out debian-version oddities.
@laf laf merged commit a4ad199 into librenms:master Jan 11, 2015

1 check passed

Scrutinizer 5 new issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment