mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: /packages search ordering links
This was not including other parameters that should be persisted for users. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
040c9bc3e6
commit
361163098f
2 changed files with 8 additions and 8 deletions
|
@ -15,7 +15,7 @@ from aurweb.packages.search import PackageSearch
|
|||
from aurweb.packages.util import get_pkg_or_base
|
||||
from aurweb.pkgbase import actions as pkgbase_actions
|
||||
from aurweb.pkgbase import util as pkgbaseutil
|
||||
from aurweb.templates import make_context, render_template
|
||||
from aurweb.templates import make_context, make_variable_context, render_template
|
||||
|
||||
logger = logging.get_logger(__name__)
|
||||
router = APIRouter()
|
||||
|
@ -125,7 +125,7 @@ async def packages_get(request: Request, context: Dict[str, Any],
|
|||
|
||||
@router.get("/packages")
|
||||
async def packages(request: Request) -> Response:
|
||||
context = make_context(request, "Packages")
|
||||
context = await make_variable_context(request, "Packages")
|
||||
return await packages_get(request, context)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue