]> git.plutz.net Git - serve0/commitdiff
preserve current page data when switching filter panel
authorpaul <paul@plutz.net>
Sat, 13 Jun 2015 15:22:17 +0000 (15:22 +0000)
committerpaul <paul@plutz.net>
Sat, 13 Jun 2015 15:22:17 +0000 (15:22 +0000)
svn path=/trunk/; revision=56

templates/filter.html.sh
templates/list.html.sh

index 9d7a6543d48ed2c1419b7f3724a425ba8af74b9f..4d1547dea65f469fc316933e2dff967f9e1118f4 100755 (executable)
@@ -28,7 +28,7 @@ cat <<EOF
     <input disabled type="submit" name="submit" value="Find">
 
     <a class="panel clearsearch" href="?">Clear All</a>
-    <a class="panel advanced hide" href="?p=list">Hide</a>
+    <a class="panel advanced hide" href="?p=list&${page_this}">Hide</a>
     <hr>
 
     <p class="help">Up to <strong>10</strong> filter boxes will appear as you start selecting tags. You can select <strong>multiple</strong> tags in each box by holding down the <strong>Ctrl</strong>-key. Click the "<strong>Filter!</strong>" button when you are ready.</p>
index 4f8dfa4ada6886d2aae746a9a78ea96e186a8f60..684cb7432b145ed55859c85273881e7de3968fc3 100755 (executable)
@@ -29,7 +29,7 @@ cat <<EOF
     <input type="submit" name="submit" value="Find">
 
     <a class="panel clearsearch" href="?">Clear All</a>
-    <a class="panel advanced show" href="?p=filter">Advanced</a>
+    <a class="panel advanced show" href="?p=filter&${page_this}">Advanced</a>
 
     <div class="pagination_nav">
       <label>Page:</label>