| 120 | |
| 121 | == Comments == |
| 122 | |
| 123 | This example has a bug: the field "category_parents" gets not updated, if a parent category was moved. |
| 124 | |
| 125 | E.g. you create the following categories: |
| 126 | {{{ |
| 127 | firstcat |
| 128 | secondcat |
| 129 | secondcat :: thirdcat |
| 130 | }}} |
| 131 | |
| 132 | |
| 133 | Now you move "secondcat" under "firstcat". The correct display would be: |
| 134 | {{{ |
| 135 | firstcat |
| 136 | firstcat :: secondcat |
| 137 | firstcat :: secondcat :: thirdcat |
| 138 | }}} |
| 139 | |
| 140 | |
| 141 | But because "category_parents" of thirdcat was not updated, you see: |
| 142 | {{{ |
| 143 | firstcat |
| 144 | firstcat :: secondcat |
| 145 | secondcat :: thirdcat |
| 146 | }}} |
| 147 | |
| 148 | |
| 149 | In the database it is correct, just the display is incorrect. |
| 150 | |
| 151 | Can anybody fix this? |