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

(-)a/installer/data/mysql/kohastructure.sql (+1 lines)
Lines 3780-3785 CREATE TABLE `hold_fill_targets` ( Link Here
3780
-- Table structure for table 'library_groups'
3780
-- Table structure for table 'library_groups'
3781
--
3781
--
3782
3782
3783
DROP TABLE IF EXISTS `library_groups`;
3783
CREATE TABLE library_groups (
3784
CREATE TABLE library_groups (
3784
    id INT(11) NOT NULL auto_increment,    -- unique id for each group
3785
    id INT(11) NOT NULL auto_increment,    -- unique id for each group
3785
    parent_id INT(11) NULL DEFAULT NULL,   -- if this is a child group, the id of the parent group
3786
    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