Changeset 774


Ignore:
Timestamp:
Jan 2, 2016, 11:18:17 AM (9 years ago)
Author:
chronos
Message:
  • Fixed: Wrong SQL query concatenation in IS module.
  • Fixed: Update code was wrongly commented out.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Version.php

    r772 r774  
    11<?php
    22
    3 $Revision = 772; // Subversion revision
     3$Revision = 774; // Subversion revision
    44$DatabaseRevision = 770; // SQL structure revision
    5 $ReleaseTime = strtotime('2015-12-27');
     5$ReleaseTime = strtotime('2016-01-01');
  • trunk/Common/Setup/Updates.php

    r771 r774  
    16371637function UpdateTo768($Manager)
    16381638{
    1639 /*  $Manager->Execute('ALTER TABLE `NetworkDomainAlias` ADD `Domain` INT NOT NULL AFTER `Comment`;');
     1639  $Manager->Execute('ALTER TABLE `NetworkDomainAlias` ADD `Domain` INT NOT NULL AFTER `Comment`;');
    16401640  $Manager->Execute('ALTER TABLE `NetworkDomainAlias` ADD KEY `Domain` (`Domain`);');
    16411641  $Manager->Execute('UPDATE `NetworkDomainAlias` SET `Domain`=1');
     
    16671667  KEY `Domain` (`Domain`)
    16681668) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;');
    1669 */
    1670         $Manager->Execute('ALTER TABLE `NetworkDomainItemFilter`
     1669  $Manager->Execute('ALTER TABLE `NetworkDomainItemFilter`
    16711670  ADD FOREIGN KEY (`Domain`) REFERENCES `NetworkDomain` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT;');
    16721671  $Manager->Execute('ALTER TABLE `NetworkDomainItemFilter`
  • trunk/Modules/IS/IS.php

    r760 r774  
    465465    if($UserFilter != '')
    466466    {
    467       if($Filter != '') $Filter = ' AND';
     467      if($Filter != '') $Filter .= ' AND';
    468468      $Filter .= ' '.$UserFilter;
    469469    }
  • trunk/Modules/Network/Network.php

    r769 r774  
    310310      'Items' => array(
    311311        'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
     312        'Parent' => array('Type' => 'TNetworkDomain', 'Caption' => 'Nadřazená doména', 'Default' => '', 'Null' => true),
    312313        'Description' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => ''),
    313         'Parent' => array('Type' => 'TNetworkDomain', 'Caption' => 'Nadřazená doména', 'Default' => '', 'Null' => true),
    314314        'Serial' => array('Type' => 'Integer', 'Caption' => 'Sériové číslo', 'Default' => '1'),
    315315        'Minimum' => array('Type' => 'Integer', 'Caption' => 'Minimum', 'Default' => '10800'),
Note: See TracChangeset for help on using the changeset viewer.