Skip to content

Commit

Permalink
fix: maintain latest and tag params when submitting page after follow…
Browse files Browse the repository at this point in the history
…ing link from can-i-deploy debug logs

Closes: #287
  • Loading branch information
bethesque committed Oct 1, 2020
1 parent 5d52aaa commit 6e2f1a8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/pact_broker/ui/views/matrix/show.haml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@
%input{name: 'q[]latest', value: 'true', hidden: true, class: 'latest-flag'}


- if options.latest || options.tag
.selector
%label{for: 'to'}
= options.latest ? 'To' : 'With all'
%input{name: 'tag', id: 'to', value: options.tag }
%input{name: 'latest', value: options.latest.to_s, hidden: true}


%div.top-of-group
.input-group
%input{type: 'radio', name: "latestby", class: '', value: '', id: 'all_rows', checked: options.all_rows_checked}
Expand Down

0 comments on commit 6e2f1a8

Please sign in to comment.