Merge lp:~blake-rouse/maas/fix-1443959 into lp:~maas-committers/maas/trunk
Proposed by
Blake Rouse
Status: | Merged |
---|---|
Approved by: | Blake Rouse |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3986 |
Proposed branch: | lp:~blake-rouse/maas/fix-1443959 |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
289 lines (+112/-30) 4 files modified
src/maasserver/static/js/angular/controllers/nodes_list.js (+20/-4) src/maasserver/static/js/angular/controllers/tests/test_nodes_list.js (+35/-4) src/maasserver/static/js/angular/services/search.js (+32/-20) src/maasserver/static/js/angular/services/tests/test_search.js (+25/-2) |
To merge this branch: | bzr merge lp:~blake-rouse/maas/fix-1443959 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mike Pontillo (community) | Approve | ||
Review via email: mp+261026@code.launchpad.net |
Commit message
Save search filters for nodes and devices when changing the current view in angular.
This will keep the current search when going back and forth between the node listing and node details view. Now if you refresh the page the filters will reset.
To post a comment you must log in.
Looks generally good. I have a minor comment below about some code that looks to bit a bit boilerplate. I think we might be able to do better with some slight refactoring; right now it seems like we have objects and constants scattered about for the nodes and devices; maybe if a single object knew about all these, it would be cleaner?