dever 6 years ago
parent
commit
0b12c9a633

+ 1 - 1
content/database/article.php

@@ -491,7 +491,7 @@ return array
 			'type' => 'all',
 			'order' => array('reorder' => 'desc', 'id' => 'desc'),
 			'limit' => '0,1000',
-			'col' => 'name as name, id, id as value, "" as selected, "" as disabled',
+			'col' => 'name as name, id, id as value, "" as selected, "" as disabled|id',
 		),
 
 		'getAll' => array

+ 1 - 1
journal/database/info.php

@@ -360,7 +360,7 @@ return array
 			'type' => 'all',
 			'order' => array('reorder' => 'desc', 'id' => 'desc'),
 			'limit' => '0,1000',
-			'col' => 'name as name, id, id as value, "" as selected, "" as disabled',
+			'col' => 'name as name, id, id as value, "" as selected, "" as disabled|id',
 		),
 
 		'getAll' => array

+ 2 - 0
journal/lib/Manage.php

@@ -35,6 +35,8 @@ class Manage
             }
             $data = $yes + $data;
 
+            $data = array_merge($data, array());
+        } else {
             $data = array_merge($data, array());
         }
 

+ 1 - 1
tag/database/info.php

@@ -125,7 +125,7 @@ return array
 			'type' => 'all',
 			'order' => array('reorder' => 'desc', 'id' => 'desc'),
 			'limit' => '0,1000',
-			'col' => 'name as name, id, id as value, "" as selected, "" as disabled',
+			'col' => 'name as name, id, id as value, "" as selected, "" as disabled|id',
 		),
 	),
 );

+ 1 - 1
video/database/live.php

@@ -482,7 +482,7 @@ return array
 			'type' => 'all',
 			'order' => array('reorder' => 'desc', 'id' => 'desc'),
 			'limit' => '0,1000',
-			'col' => 'name as name, id, id as value, "" as selected, "" as disabled',
+			'col' => 'name as name, id, id as value, "" as selected, "" as disabled|id',
 		),
 		
 		'getAll' => array

+ 1 - 1
video/database/vod.php

@@ -439,7 +439,7 @@ return array
 			'type' => 'all',
 			'order' => array('reorder' => 'desc', 'id' => 'desc'),
 			'limit' => '0,1000',
-			'col' => 'name as name, id, id as value, "" as selected, "" as disabled',
+			'col' => 'name as name, id, id as value, "" as selected, "" as disabled|id',
 		),
 		
 		'getAll' => array