Index: trunk/extensions/OAI/OAIRepo_body.php |
— | — | @@ -665,8 +665,9 @@ |
666 | 666 | rp.page_title AS page_title |
667 | 667 | FROM $updates AS u, $page AS p, $redirect AS r, $page AS rp |
668 | 668 | WHERE u.up_page=p.page_id AND p.page_namespace=r.rd_namespace |
669 | | - AND p.page_title=r.rd_title AND r.rd_from=rp.page_id"; |
670 | | - |
| 669 | + AND p.page_title=r.rd_title AND r.rd_from=rp.page_id |
| 670 | + $pages_where"; |
| 671 | + |
671 | 672 | return $this->_db->resultObject( $this->_db->query( $sql ) ); |
672 | 673 | } |
673 | 674 | |