Skip to content

Commit

Permalink
Add a label filter
Browse files Browse the repository at this point in the history
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
  • Loading branch information
roland-d committed Oct 10, 2020
1 parent 76f43fa commit 4592cab
Show file tree
Hide file tree
Showing 5 changed files with 288 additions and 163 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ protected function initializeState(AbstractModel $model)
$state->set('filter.branch', $app->getUserStateFromRequest($this->context . '.filter.branch', 'filter_branch', ''));
$state->set('filter.rtc', $app->getUserStateFromRequest($this->context . '.filter.rtc', 'filter_rtc', ''));
$state->set('filter.npm', $app->getUserStateFromRequest($this->context . '.filter.npm', 'filter_npm', ''));
$state->set('filter.label', $app->getUserStateFromRequest($this->context . '.filter.label', 'filter_label', ''));

// Pre-fill the limits.
$limit = $app->getUserStateFromRequest('global.list.limit', 'limit', $app->input->get('list_limit', 20), 'uint');
Expand Down
Loading

0 comments on commit 4592cab

Please sign in to comment.