View | Details | Raw Unified | Return to bug 15707
Collapse All | Expand All

(-)a/installer/data/mysql/kohastructure.sql (+1 lines)
Lines 3958-3963 CREATE TABLE deletedbiblio_metadata ( Link Here
3958
-- Table structure for table 'library_groups'
3958
-- Table structure for table 'library_groups'
3959
--
3959
--
3960
3960
3961
DROP TABLE IF EXISTS `library_groups`;
3961
CREATE TABLE library_groups (
3962
CREATE TABLE library_groups (
3962
    id INT(11) NOT NULL auto_increment,    -- unique id for each group
3963
    id INT(11) NOT NULL auto_increment,    -- unique id for each group
3963
    parent_id INT(11) NULL DEFAULT NULL,   -- if this is a child group, the id of the parent group
3964
    parent_id INT(11) NULL DEFAULT NULL,   -- if this is a child group, the id of the parent group
(-)a/t/db_dependent/LibraryGroups.t (-3 / +2 lines)
Lines 74-79 is( $library->id, $groupA_library1->branchcode, 'Branchcode for fetched library Link Here
74
74
75
my @libraries_not_direct_children = $groupA->libraries_not_direct_children();
75
my @libraries_not_direct_children = $groupA->libraries_not_direct_children();
76
$in_list = any { $_->id eq $groupA_library1->branchcode } @libraries_not_direct_children;
76
$in_list = any { $_->id eq $groupA_library1->branchcode } @libraries_not_direct_children;
77
ok( !$in_list, 'Method libraries_not_direct_children returns all libraries not direct decendents of group, library 1 is not in the list');
77
ok( !$in_list, 'Method libraries_not_direct_children returns all libraries not direct descendants of group, library 1 is not in the list');
78
$in_list = any { $_->id eq $groupA1_library2->branchcode } @libraries_not_direct_children;
78
$in_list = any { $_->id eq $groupA1_library2->branchcode } @libraries_not_direct_children;
79
ok( $in_list, 'Method libraries_not_direct_children returns all libraries not direct decendents of group, library 2 is in the list');
79
ok( $in_list, 'Method libraries_not_direct_children returns all libraries not direct descendants of group, library 2 is in the list');
80
- 

Return to bug 15707