mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-10-23 04:37:43 -04:00
Fix list/grid switching retaining page
This commit is contained in:
1 parent
f2aaf9e928
commit
9f333fafa7
1 file changed
+2
-2
@@ -580,8 +580,8 @@ class FDroid
|
||||
$out.="</div>";
|
||||
|
||||
$out.='<div style="float:right;">';
|
||||
$out.='<a href="'.makelink($query_vars, array('fdstyle'=>'list')).'">List</a> | ';
|
||||
$out.='<a href="'.makelink($query_vars, array('fdstyle'=>'grid')).'">Grid</a>';
|
||||
$out.='<a href="'.makelink($query_vars, array('fdstyle'=>'list', 'fdpage'=>1)).'">List</a> | ';
|
||||
$out.='<a href="'.makelink($query_vars, array('fdstyle'=>'grid', 'fdpage'=>1)).'">Grid</a>';
|
||||
$out.='</div>';
|
||||
|
||||
$out.='<br break="all"/>';
|
||||
|
||||
Reference in new issue
Block a user