Ticket #315 (closed defect: fixed)
optimize and fix FullCategorySearchText ()
| Reported by: | DotMG | Owned by: | DotMG |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3.1 |
| Component: | core | Version: | 1.1.6.2 |
| Severity: | normal | Keywords: | optimization linktracking category |
| Cc: |
Description
Action {{category}} calls FullCategorySearchText, which searches for the word category name in the `body' field of **ALL** active pages. Not only this is inefficient (consumes too much resources), it also has an issue (If you simply put the word categorywiki inside a page, and if a page CategoryWiki exists and is a category, the page containing the word categorywiki will be listed as member of CategoryWiki).
This is how things should be done :
*FullCategorySearchText must search through the wikka_links table, and not wikka_pages *wikka_links table must be up to date everytime.
Related ticket: #313
