[Groonga-commit] groonga/groonga-admin at 932892d [master] Build keyType from "schema" response

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Sep 21 16:18:33 JST 2016


YUKI Hiroshi	2016-09-21 16:18:33 +0900 (Wed, 21 Sep 2016)

  New Revision: 932892dc641970813372e9bad420f3e16b1de828
  https://github.com/groonga/groonga-admin/commit/932892dc641970813372e9bad420f3e16b1de828

  Merged eebf840: Merge pull request #10 from groonga/features/migrate-table_list-to-schema

  Message:
    Build keyType from "schema" response

  Modified files:
    app/scripts/services/schema-loader.js

  Modified: app/scripts/services/schema-loader.js (+4 -2)
===================================================================
--- app/scripts/services/schema-loader.js    2016-09-21 16:18:09 +0900 (ff873e7)
+++ app/scripts/services/schema-loader.js    2016-09-21 16:18:33 +0900 (eef1371)
@@ -96,9 +96,11 @@ angular.module('groongaAdminApp')
       }
 
       function resolveTable(table) {
+        if (!table.key_type)
+          return;
         table.keyType = {
-          name: table.domain,
-          isTextType: isTextType(table.domain)
+          name: table.key_type.name,
+          isTextType: isTextType(table.key_type.name)
         };
       }
 
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index