Commit 7a05a7a
1 parent 8e25b89 commit 7a05a7a
File tree
2 files changed
+26
-3
lines changed- src/core
- tests/src/core
2 files changed
+26
-3
lines changedLines changed: 15 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
682 | 682 |
| |
683 | 683 |
| |
684 | 684 |
| |
685 |
| - | |
686 |
| - | |
| 685 | + | |
| 686 | + | |
687 | 687 |
| |
688 | 688 |
| |
689 | 689 |
| |
| |||
5106 | 5106 |
| |
5107 | 5107 |
| |
5108 | 5108 |
| |
5109 |
| - | |
| 5109 | + | |
| 5110 | + | |
| 5111 | + | |
| 5112 | + | |
| 5113 | + | |
| 5114 | + | |
| 5115 | + | |
| 5116 | + | |
| 5117 | + | |
| 5118 | + | |
| 5119 | + | |
| 5120 | + | |
| 5121 | + | |
5110 | 5122 |
| |
5111 | 5123 |
| |
5112 | 5124 |
| |
|
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1571 | 1571 |
| |
1572 | 1572 |
| |
1573 | 1573 |
| |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
1574 | 1585 |
| |
1575 | 1586 |
| |
1576 | 1587 |
| |
|
1 commit comments
nirvn commentedon Oct 31, 2016
@m-kuhn , we're getting there! 😉 @parent is now properly updated as the code iterates through features. However, "FIELD" values (in the filter parameter expression) aren't updated when iterating through features, breaking stuff like aggregate('my_layer','count',$id,"my_layer_field" = attribute(@parent,"my_parent_field")).
Here's an updated test project (http://hub.qgis.org/attachments/10505/parent_v2.zip) which should help narrow things down. The test project labels two polygons using three aggregate calls. The third one is built on a "field" = attribute(@parent,"parent_field) which fails for the 2nd polygon. The failure is due to "field" not being updated with the 2nd polygon's values.
Screenshot:
