From 0341a389953e71478e0cb6aa4d9ec819ad939e6f Mon Sep 17 00:00:00 2001
From: Brice Maron <brice@bmaron.net>
Date: Mon, 6 Aug 2012 16:43:28 +0000
Subject: [PATCH] Set Text View by default in bookmark

---
 templates/list.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/list.php b/templates/list.php
index bb429566..55a798dd 100644
--- a/templates/list.php
+++ b/templates/list.php
@@ -60,7 +60,7 @@
 </div>
 <script>
 	var fullTags = <?php echo $_['tags'];?>;
-	var init_view = '<?php echo OCP\Config::getUserValue(OCP\USER::getUser(), 'bookmarks', 'currentview', 'list');?>';
+	var init_view = '<?php echo OCP\Config::getUserValue(OCP\USER::getUser(), 'bookmarks', 'currentview', 'text');?>';
 	var init_sidebar = '<?php echo OCP\Config::getUserValue(OCP\USER::getUser(), 'bookmarks', 'sidebar', 'true');?>';
 	var shot_provider = '<?php echo OCP\Config::getUserValue(OCP\USER::getUser(), 'bookmarks', 'shot_provider', 'http://screenshots.bookmarkly.com/thumb?url={url}');?>';
 	//http://api.thumbalizr.com/?width={width}&url={url}