[Groonga-commit] groonga/groonga-admin at a4dd18f [master] Fix a bug that '._key' is always missing for reference type index

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Nov 23 12:04:08 JST 2014


Kouhei Sutou	2014-11-23 12:04:08 +0900 (Sun, 23 Nov 2014)

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

  Message:
    Fix a bug that '._key' is always missing for reference type index

  Modified files:
    app/scripts/controllers/table-search-controller.js

  Modified: app/scripts/controllers/table-search-controller.js (+3 -2)
===================================================================
--- app/scripts/controllers/table-search-controller.js    2014-11-23 12:03:46 +0900 (88ae54a)
+++ app/scripts/controllers/table-search-controller.js    2014-11-23 12:04:08 +0900 (f489fb5)
@@ -370,7 +370,8 @@ angular.module('groongaAdminApp')
             });
             if (sourceColumn) {
               var targetType = sourceColumn.type;
-              if (isTableType(targetType)) {
+              var isTableTypeSource = isTableType(targetType);
+              if (isTableTypeSource) {
                 var table = $scope.allTables.find(function(table) {
                   return table.name === targetType;
                 });
@@ -380,7 +381,7 @@ angular.module('groongaAdminApp')
                 return;
               }
 
-              if (isTableType(targetType)) {
+              if (isTableTypeSource) {
                 indexName += '._key';
               }
             }
-------------- next part --------------
HTML����������������������������...
下載 



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