migxdb не выводит данные в админке
Подскажите почему не выводятся данные в админке migxdb?
Xml Schema:
В базу данных Mysql данные заносятся но не выводятся в админке, в чем может быть причина?
Xml Schema:
<?xml version="1.0" encoding="UTF-8"?>
<model package="prodreview" baseClass="xPDOObject" platform="mysql" defaultEngine="InnoDB" version="1.1">
<object class="MyProd" table="my_prod" extends="xPDOSimpleObject">
<field key="resource_id" dbtype="int" precision="10" phptype="integer" null="false" default="0" index="index" />
<field key="logo" dbtype="varchar" precision="190" phptype="string" null="false" default="" />
<field key="сlosed" dbtype="tinyint" precision="1" phptype="integer" null="true" />
<field key="published" dbtype="tinyint" precision="1" attributes="unsigned" phptype="integer" null="false" default="0" />
<field key="deleted" dbtype="tinyint" precision="1" attributes="unsigned" phptype="integer" null="false" default="0" />
<field key="createdon" dbtype="datetime" phptype="datetime" null="true" />
<aggregate alias="Resource" class="modResource" local="resource_id" foreign="id" cardinality="one" owner="foreign" />
</object>
</model>
Настройки:{
"formtabs":[
{
"MIGX_id":11,
"caption":"\u0418\u043d\u0444\u043e",
"print_before_tabs":"0",
"fields":[
{
"MIGX_id":32,
"field":"logo",
"caption":"\u041b\u043e\u0433\u043e\u0442\u0438\u043f",
"description":"",
"description_is_code":"0",
"inputTV":"prod_logo",
"inputTVtype":"",
"validation":"",
"configs":"",
"restrictive_condition":"",
"display":"",
"sourceFrom":"tv",
"sources":[
{
"MIGX_id":1,
"context":"web",
"sourceid":7
}
],
"inputOptionValues":"",
"default":"",
"useDefaultIfEmpty":"0",
"pos":1
}
],
"pos":1
}
],
"contextmenus":"update||remove",
"actionbuttons":"addItem||bulk||toggletrash||emptyTrash",
"columnbuttons":"update||remove",
"filters":"",
"extended":{
"migx_add":"",
"disable_add_item":"",
"add_items_directly":"",
"formcaption":"",
"update_win_title":"",
"win_id":"my_prod",
"maxRecords":"",
"addNewItemAt":"bottom",
"media_source_id":"",
"multiple_formtabs":"",
"multiple_formtabs_label":"",
"multiple_formtabs_field":"",
"multiple_formtabs_optionstext":"",
"multiple_formtabs_optionsvalue":"",
"actionbuttonsperrow":4,
"winbuttonslist":"",
"extrahandlers":"",
"filtersperrow":4,
"packageName":"prodreview",
"classname":"myProd",
"task":"",
"getlistsort":"resurce_id",
"getlistsortdir":"desc",
"sortconfig":"",
"gridpagesize":"",
"use_custom_prefix":"0",
"prefix":"",
"grid":"",
"gridload_mode":1,
"check_resid":1,
"check_resid_TV":"",
"join_alias":"",
"has_jointable":"yes",
"getlistwhere":"",
"joins":"",
"hooksnippets":"",
"cmpmaincaption":"",
"cmptabcaption":"",
"cmptabdescription":"",
"cmptabcontroller":"",
"winbuttons":"",
"onsubmitsuccess":"",
"submitparams":""
},
"permissions":{
"apiaccess":"",
"view":"",
"list":"",
"save":"",
"create":"",
"remove":"",
"delete":"",
"publish":"",
"unpublish":"",
"viewdeleted":"",
"viewunpublished":""
},
"fieldpermissions":"",
"columns":[
{
"MIGX_id":2,
"dataIndex":"id",
"header":"id"
},
{
"MIGX_id":3,
"dataIndex":"resource_id",
"header":"resource_id"
},
{
"MIGX_id":4,
"dataIndex":"logo",
"header":"logo"
},
{
"MIGX_id":6,
"dataIndex":"\u0441losed",
"header":"\u0441losed"
},
{
"MIGX_id":8,
"dataIndex":"deleted",
"header":"deleted"
},
{
"MIGX_id":9,
"dataIndex":"createdon",
"header":"createdon"
},
{
"MIGX_id":10,
"dataIndex":"published",
"header":"published"
}
],
"category":""
}
В базу данных Mysql данные заносятся но не выводятся в админке, в чем может быть причина?
Комментарии: 2
"classname":"MyProd",
вместо "classname":"myProd",
"getlistsort":"resource_id",
вместо "getlistsort":"resurce_id",
Спасибо все работает!!!
Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.