Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
*5313* Fixed paper list in export DOM
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Apr 15, 2010
1 parent 2322732 commit ba329fc
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions classes/paper/PublishedPaperDAO.inc.php
Expand Up @@ -513,14 +513,15 @@ function &getPublishedPaperIdsAlphabetizedBySchedConf($conferenceId = null, $sch
$paperIds = array();

$result =& $this->retrieveCached(
'SELECT a.paper_id AS pub_id
'SELECT p.paper_id AS pub_id
FROM published_papers pa,
papers a
' . ($conferenceId?'LEFT JOIN sched_confs e ON e.sched_conf_id = a.sched_conf_id':'') . '
WHERE pa.paper_id = a.paper_id
' . ($conferenceId?'AND e.conference_id = ?':'') . '
' . ($schedConfId?'AND a.sched_conf_id = ?':'') . '
ORDER BY a.sched_conf_id',
papers p
' . ($conferenceId?'LEFT JOIN sched_confs e ON e.sched_conf_id = p.sched_conf_id':'') . '
WHERE pa.paper_id = p.paper_id
AND p.status = ' . STATUS_PUBLISHED .
($conferenceId?' AND e.conference_id = ?':'') .
($schedConfId?' AND p.sched_conf_id = ?':'') .
' ORDER BY p.sched_conf_id',
$params
);

Expand Down

0 comments on commit ba329fc

Please sign in to comment.