Bug #9849
Update! > it does not update keywords field for pages without subpages
| Status: | New | Start date: | 2010-09-20 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
| Votes: | 0 |
Description
Reproduce:
1. Version 1.1.5
2. In extension manager > pmkautokeywords > Update! tool
3. "Branch of pagetree" selected RootPage
4. "Use autokeywords?" checked
5. "Trigger update of autokeywords" is selected to "yes"
6. After clickung on "Update" button tool show correct pagetree structure, But:
Result: Pages wich not have child subpages do not update by extension.
Proposal: In file EXT:pmkautokeywords/class.ext_update.php add lines before line ## 168
$pageCurrent = $this->getRecords('pages', 'deleted=0 AND hidden=0 AND (doktype=1 OR doktype=6 OR doktype=4 OR doktype=7) AND uid='.$uid);
$page = $pageCurrent['0'];
Best regards, Nikolay