Index: trunk/extensions/OAI/OAIRepo_body.php |
— | — | @@ -651,12 +651,15 @@ |
652 | 652 | |
653 | 653 | $res = $this->_db->select( |
654 | 654 | array( 'updates', 'page', 'redirect' ), |
655 | | - array( 'up_page,up_sequence', 'rp.page_namespace AS page_namespace', |
656 | | - 'rp.page_title AS page_title' ), |
657 | 655 | array( |
| 656 | + 'up_page,up_sequence', |
| 657 | + 'rp.page_namespace AS page_namespace', |
| 658 | + 'rp.page_title AS page_title' |
| 659 | + ), |
| 660 | + array( |
658 | 661 | 'u.up_page=p.page_id', |
659 | 662 | 'p.page_namespace=r.rd_namespace', |
660 | | - 'p.page_title=r.rd_title', |
| 663 | + 'p.page_title=r.rd_title', |
661 | 664 | 'r.rd_from=rp.page_id', |
662 | 665 | 'up_page' => $page_ids |
663 | 666 | ), |