#
06fee43a |
| 21-Nov-2016 |
Michael Grosse <grosse@cosmocode.de> |
feat: Enable usage in sidebars etc.
By replacing $ID with $INFO['id'] the entries now work in sidebars and especially in the new footers (see SPR-699) as expected.
Tested: * Sorting * Dynamic filte
feat: Enable usage in sidebars etc.
By replacing $ID with $INFO['id'] the entries now work in sidebars and especially in the new footers (see SPR-699) as expected.
Tested: * Sorting * Dynamic filters * $STRUCT.tablename.field$ placeholder * $ID placeholders
SPR-348
show more ...
|
#
d2a8ce05 |
| 29-Sep-2016 |
Paweł Czochański <czochanski@gmail.com> |
Fixed SearchConfig offset not being set bug
|
#
72b4cd73 |
| 11-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
adjust for removed option in AccessTable
|
#
f411d872 |
| 08-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
refactor SchemaData into AccessTable with factory
first part of the refactoring for the SchemaData and SchemaLookupData classes. Both now inherit from AccessTable which provides common methods and t
refactor SchemaData into AccessTable with factory
first part of the refactoring for the SchemaData and SchemaLookupData classes. Both now inherit from AccessTable which provides common methods and two factory methods to automatically create the correct class depending on the schema.
Both classes no longer inherit from Schema. Instead they contain a Schema as a member variable. This makes it possible to initialize them with an existing schema (which is required for the factory methods).
The flow is now like this:
1: init a schema (read info from the database) 2: look at the schema to figure out if it's a lookup or not 3: initialize the right Data object with the schema
show more ...
|
#
c75f25cf |
| 28-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
MultiCol match: empty array means empty filter
|
#
aec9051b |
| 28-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
a $STRUCT.*$ filter doesn't need reference the same schemas
A filter may reference all schemas of the page the aggregation is on which are not necessarily the same schemas that are queried.
|
#
53528ecf |
| 27-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
allow multicolumn filters #124
when referencing a multi value column through the $STRUCT.<column>$ filter placeholder, all found values are used for the comparison using an OR sub group.
To make th
allow multicolumn filters #124
when referencing a multi value column through the $STRUCT.<column>$ filter placeholder, all found values are used for the comparison using an OR sub group.
To make this work some changes had to be introduced. You can only reference _one_ column in a filter, not multiple. Anything before or after the column placeholder will be applied to each value in the multicolumn.
Types overrifding the filter() method need to make sure they handle arrays in $value correctly.
show more ...
|
#
84a4b714 |
| 26-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
Revert "Add $TITLE$ placeholder for aggregations and tests"
This reverts commit 7249dd99c6b513e7a0e270e0532734a1bf838ae4.
As discussed in #133 the $TITLE$ place holder is no longer needed since tit
Revert "Add $TITLE$ placeholder for aggregations and tests"
This reverts commit 7249dd99c6b513e7a0e270e0532734a1bf838ae4.
As discussed in #133 the $TITLE$ place holder is no longer needed since title columns match against the pid as well. Since gathering the title data for the filter is actually performance relevant, it makes sense to remove it again.
show more ...
|
#
bf4e3880 |
| 21-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
use rawValue for old revisions and column filters #131 #129
|
#
8b8243b2 |
| 21-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
run rawValue on found columns only
|
#
e7ee2b64 |
| 21-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
introduce Type::rawValue(). fixes #131
|
#
7249dd99 |
| 20-Jul-2016 |
Michael Grosse <grosse@cosmocode.de> |
Add $TITLE$ placeholder for aggregations and tests
|
#
ba766201 |
| 28-Apr-2016 |
Andreas Gohr <gohr@cosmocode.de> |
Use DokuWiki new autoloader for class files
No longer do we need to register our own autoloader. Namespace had to be vendor prefixed.
|
#
16b7d914 |
| 22-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
adjust cachung if an aggregation depends on dynamic values #75
|
#
d19ba4b1 |
| 22-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
fixed struct filter vars and added tests #75
|
#
5625b985 |
| 21-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
support for dynamic filter place holders #75
tests for struct stuff still missing no cache handling, yet
|
#
0215a637 |
| 21-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
avoid errors when no schema or column is given
|
#
aa124708 |
| 10-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
streamline sort direction handling
we now use a boolean everywhere
|
#
668e4f8e |
| 10-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
correctly apply dynamic params to the search config
|
#
3ad292a8 |
| 09-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
schemas and columns need to be known before init dyn params
|
#
07993756 |
| 09-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
major refactoring of the whole table aggregation
this is still completely untested
|
#
00f6af48 |
| 09-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
make dynamic parameters a bit better to handle
Now the aggregation class no longer needs to juggle around with ugly strings but can simply call functions on the SearchConfigParameter class to genera
make dynamic parameters a bit better to handle
Now the aggregation class no longer needs to juggle around with ugly strings but can simply call functions on the SearchConfigParameter class to generate new parameters.
show more ...
|
#
1a07b696 |
| 18-Feb-2016 |
Michael Große <grosse@cosmocode.de> |
Let SearchConfig handle all configuration
SPR-309. SPR-317 GitHub Issue #22
|
#
61809d19 |
| 17-Feb-2016 |
Michael Große <grosse@cosmocode.de> |
Add the sort config to the search object
|
#
5511bd5b |
| 10-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
began work on the syntax component to aggregate data
This copies over a lot of configuration functionality from the data plugin, but is still missing the functionality itself.
|