From: Andrew Dolgov Date: Fri, 2 Dec 2005 08:33:03 +0000 (+0100) Subject: further updates to xml import ui X-Git-Tag: schema_feature_freeze_for_1.1~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fa16f30b87d97ba5f1b7658ebcd95248d601f57b;p=tt-rss.git further updates to xml import ui --- diff --git a/xml-export.php b/xml-export.php index 446d315a..df497aa8 100644 --- a/xml-export.php +++ b/xml-export.php @@ -93,15 +93,16 @@ updated, guid, link, - date_entered, - last_read, + SUBSTRING(date_entered,1,16) AS date_entered, + SUBSTRING(last_read,1,16) AS last_read, comments, ttrss_feeds.feed_url AS feed_url, ttrss_feeds.title AS feed_title FROM ttrss_entries,ttrss_feeds WHERE - feed_id = ttrss_feeds.id $marked_qpart $unread_qpart"); + feed_id = ttrss_feeds.id $marked_qpart $unread_qpart + ORDER BY ttrss_entries.id"); } else if ($schema_version == 2) { @@ -113,8 +114,8 @@ updated, guid, link, - date_entered, - last_read, + SUBSTRING(date_entered,1,16) AS date_entered, + SUBSTRING(last_read,1,16) AS last_read, comments, ttrss_feeds.feed_url AS feed_url, ttrss_feeds.title AS feed_title @@ -123,7 +124,8 @@ WHERE ttrss_user_entries.owner_uid = '$owner_uid' AND ref_id = ttrss_entries.id AND - feed_id = ttrss_feeds.id $marked_qpart $unread_qpart"); + feed_id = ttrss_feeds.id $marked_qpart $unread_qpart + ORDER BY ttrss_entries.id"); } else {