A
A
Alexey Kravchinsky2020-02-27 00:20:06
Yii
Alexey Kravchinsky, 2020-02-27 00:20:06

How to make a get request in searchModel a link?

I have product categories.
I pass the name of the category for further filtering through the form.
how do i pass the category name to the searchModel using a link?
get request from form:"

catalog/index?ProductSearchFront%5Bcat_name%5D=Мясные+продукты


get request via link:"catalog/index?cat_name=Мясные+продукты

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question