Comments (5)
Yes and that's intentional.
With your defaults, all filter settings will show no entry (as you supplied the empty array) and of those "no items" it will show all.
Therefore it is IMO best to have those two parameters mandatory and not supply a default to avoid confusion as it even confused you.
from core.
OK, this makes sense. I greped the sources of the nightly build (14.02.2013) for 'getFilterOptions()' and found five matches where no parameters are set:
MetaModel.php line 560
MetaModelfilterSettingFromTo.php line 127
MetaModelfilterSettingTags.php line 58 and line 109
MetaModelFilterSettingText.php line 123
I guess these classes want to get the filter from all id´s but Il´ll have a look at it later
from core.
You have fixed tags, what of the others does still remain?
from core.
MetaModelFilterSettingText.php line 118
from core.
And that line appears to be entirely useless...
On the other hand, the filter_text is non functional as of now, therefore I guess we can close this ticket.
from core.
Related Issues (20)
- ensure jumpTo page ID is integer HOT 1
- Add id and tstamp at BE sorting HOT 1
- Indexierung bei mehreren Domains HOT 1
- Change runonce.php to migrations
- contao 4.13 and 5? HOT 3
- Change 'dataContainer' to '\ContaoCommunityAlliance\DcGeneral\DC\General::class' HOT 1
- Veröffentlichter Übersetzungsstatus greift nicht im Filter HOT 2
- Pagination does not include limit in calculation HOT 1
- Faulty routing when legacy_routing is switched off HOT 1
- Paginierung mit GET in Verbindung mit Filter HOT 2
- Aufbau des Suchindexes seit Contao 4.9 mit MM 2.2 aufgrund vieler MMs, Filter und Seiten nicht möglich HOT 10
- Inserttags are not functional in own SQL (Filter settings) HOT 9
- [2.3] Broken filter url builder HOT 1
- Get parameter array handled incorrectly HOT 2
- bei Eingabefeldern HTML-Attribut maxlenght aufgrund der SQL-Feldgröße setzen
- Referenced Meta Models with brackets ( ... ) can not be chosen (Error: did not accept the value) HOT 10
- Checked with PHPCQ MM 2.3 Repos (ready for release)
- Ansichtsbedingungen des Eingabefeldes über einen Filter ansprechen HOT 3
- Hide the button for copying metamodel
- Error 500 is key "language" at filter rule select HOT 2
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 core.