From eaefb362129b9d1731d809822232f1d35c95b871 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 4 Mar 2017 16:56:52 +0100 Subject: [PATCH 1/2] we need item edited for wiki page history, not item created --- Zotlabs/Lib/NativeWikiPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Lib/NativeWikiPage.php b/Zotlabs/Lib/NativeWikiPage.php index af0286997..25e454cb7 100644 --- a/Zotlabs/Lib/NativeWikiPage.php +++ b/Zotlabs/Lib/NativeWikiPage.php @@ -188,7 +188,7 @@ class NativeWikiPage { $processed ++; $history[] = [ 'revision' => $item['revision'], - 'date' => datetime_convert('UTC',date_default_timezone_get(),$item['created']), + 'date' => datetime_convert('UTC',date_default_timezone_get(),$item['edited']), 'name' => $item['author']['xchan_name'], 'title' => get_iconfig($item,'nwikipage','commit_msg') ]; From 8e1716065ee01959fc799fa14ba627392a876afa Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 4 Mar 2017 17:04:04 +0100 Subject: [PATCH 2/2] update changelog --- CHANGELOG | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG b/CHANGELOG index 487dd4331..15ef95730 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -46,6 +46,7 @@ Hubzilla 2.2 (2017-??-??) - Show webpages link to visitors if a 'home' page exists Bugfixes + - Fix schema not saved if session theme != selected theme and schema select display issue - Fix no acl not detected in post_activity_item() - Fix find_folder_hash_by_path() was not safe against multiple attach structures with the same filename but in different directories - Fix don't search on empty filename - we shouldn't find it. The reason why this change is being made is because we actually did find it due to a development glitch