Two Bugs
1) Orphaned pages in a Category were not being listed correctly 2) "list" view was not being expired correctly on deletion of orphaned pages.
This commit is contained in:
parent
074599fc9b
commit
bdcb506418
3 changed files with 10 additions and 4 deletions
|
@ -67,8 +67,9 @@ class PageSet < Array
|
|||
if never_orphans.include? page.name
|
||||
false
|
||||
else
|
||||
references = pages_that_reference(page.name)
|
||||
references.empty? or references == [page]
|
||||
# references = pages_that_reference(page.name)
|
||||
references = WikiReference.pages_that_reference(@web, page.name)
|
||||
references.empty? or references == [page.name]
|
||||
end
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue