refactor(search): extract simplified SearchState class
commit18856c5d101ff874df730bc3970d0b597a6ec390
authorMichael Große <grosse@cosmocode.de>
Mon, 26 Mar 2018 12:30:58 +0000 (26 14:30 +0200)
committerMichael Große <grosse@cosmocode.de>
Mon, 26 Mar 2018 13:11:02 +0000 (26 15:11 +0200)
tree02fb5358a9e5ed09a49c235537715797465da724
parent1b48999c32bc54c39ae10cb3107127678160ee93
refactor(search): extract simplified SearchState class

Building the new search links is complex and we're going to add another
parameter with the new sorting by mtime. Extracting a new class seems
like the cleanest way to handle that increasing complexity.
inc/Ui/Search.php
inc/Ui/SearchState.php [new file with mode: 0644]