diff options
| author | 2012-10-25 15:42:06 +0200 | |
|---|---|---|
| committer | 2012-10-25 15:42:06 +0200 | |
| commit | d21c1bb13875189ab25f7bce4f05cc3fedaa4904 (patch) | |
| tree | 43bc5ca4c728756ac2fa7ede42b50885ae171300 /app/models/Feed.php | |
| parent | e5767a7fae6e1463727987e09f1c592a8a86577b (diff) | |
correction marquage des articles en js
Diffstat (limited to 'app/models/Feed.php')
| -rw-r--r-- | app/models/Feed.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/Feed.php b/app/models/Feed.php index e1e8f6449..92a20eb80 100644 --- a/app/models/Feed.php +++ b/app/models/Feed.php @@ -160,7 +160,7 @@ class FeedDAO extends Model_pdo { } public function listFeeds () { - $sql = 'SELECT * FROM feed'; + $sql = 'SELECT * FROM feed ORDER BY name'; $stm = $this->bd->prepare ($sql); $stm->execute (); @@ -168,7 +168,7 @@ class FeedDAO extends Model_pdo { } public function listByCategory ($cat) { - $sql = 'SELECT * FROM feed WHERE category=?'; + $sql = 'SELECT * FROM feed WHERE category=? ORDER BY name'; $stm = $this->bd->prepare ($sql); $values = array ($cat); |
