Comments (3)
Reclassifying as bug as the documented approach even breaks it all.
It currently would re-add the query string fields already present as POST which would always overwrite the other fields if coming after them (and the DOM is also invalid because the fields exist now twice).
We definitly need a better solution here.
from search.
Opting out should be the way to persist even across multiple search filters + paginators per single request (Cells, etc):
foreach (\Cake\Utility\Hash::flatten($this->request->query) as $param => $value) {
if (strpos($param, 'sort') !== false) { // This should respect the set scope, it's just meant as a POC
echo $this->Form->hidden($param, compact('value'));
}
}
from search.
Does not work, it will always reset to the previous ones, not the changed ones. And it is invalid DOM content. I mentioned all that above already.
from search.
Related Issues (20)
- Additional search data from request to manager HOT 4
- Help on installation.
- Any way to get the matched text of a particular field?
- Query parameter value filter containing period in string name is not running HOT 4
- Bake filter collections? HOT 2
- warning with bake in cake42 HOT 4
- Conflict with Migration ? HOT 2
- 3.9 not working as usual HOT 8
- Can't search in associated Model HOT 1
- SearchComponent conflict with DisableGenericTables HOT 4
- Search resetUrl function HOT 6
- Bug/inconvenience when baking FilterCollections HOT 4
- Passing an integer value to the search query HOT 2
- German umlauts not recognized HOT 4
- Complex Searches (question / request) HOT 3
- BC issue HOT 15
- Reset doesn't work WA's solution to keep search filters HOT 2
- belongsToMany Search not Working HOT 5
- 5.x: Search exception HOT 5
- Casting needed for Finder filter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from search.