User tests: Successful: Unsuccessful:
Pull Request for Issue #9273 .
I changed the method of the searching form from "post" to "get" to solve the issue.
You can go through the instructions in the issue #9273 (comment)
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Rel_Number | 0 | ⇒ | 9273 |
Relation Type | ⇒ | Pull Request for |
Category | ⇒ | Components |
I think I found the problem, it's in the form action. When the "filter-search" is added to it, the issue is solved.
What about adding "filter-search" to the JUri using setVar?
It will be
<?php
$uri = JUri::getInstance();
if ($this->state->get('list.filter')):
$uri->setVar('filter-search', $this->state->get('list.filter'));
endif;
?>
<form action="<?php echo htmlspecialchars($uri->toString()); ?>" method="post" name="adminForm" id="adminForm">
Instead of
<form action="<?php echo htmlspecialchars(JUri::getInstance()->toString()); ?>" method="post" name="adminForm" id="adminForm">
I have tested this item
Yeah, its working search box shows value and url also with search input
I agree that changing from get to post is not the correct solution. The search filter shouldn't be added to the URL either. The question actually is, why are the search settings not stored in the session? If you look at the back-end lists, none of the settings are in the URL, they are all stored in the session, the same thing should be done for the front-end.
I am closing this as it is not a correct solution
Category | Components | ⇒ | Front End Components |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-08-03 14:34:35 |
Closed_By | ⇒ | brianteeman |
This just doesnt seem correct to me - every form in joomla uses post not get