Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 9, 2011
  1. @ctfliblime

    Add Koha.pm and include it universally

    ctfliblime authored
    At this point all we're doing is turning on warnings, strict,
    and 5.10 features by default in all files. This also defines
    a $Koha::VERSION variable which is going to be the basis for
    the code revision number, as opposed to $C4::Context::VERSION,
    which is the data config version number.
Commits on Jun 1, 2011
  1. @ctfliblime

    [Fixes #12849423] Enable course reservation of multiple items at once

    ctfliblime authored
    This patch changes the barcode entry from a text to textarea, processing
    multiple line-separated barcodes to be added to a course simultaneously.
Commits on Mar 12, 2011
  1. @ctfliblime
Commits on Jun 28, 2010
  1. @dlbptfs

    Migration of LLEK course reserves feature.

    dlbptfs authored J. David Bavousett committed
    This is an attempt to extract the LLEK course reserves from their code base.
    
    MySQL changes are as follows...
    
    DROP TABLE IF EXISTS `courses`;
    CREATE TABLE `courses` (
        `course_id` INT(11) NOT NULL auto_increment,
        `department` VARCHAR(20),       -- req, auth value
        `course_number` VARCHAR(255),    -- req, free text
        `section` VARCHAR(255),          -- free text
        `course_name` VARCHAR(255),      -- req, free text
        `term` VARCHAR(20),             -- req, auth value
        `staff_note` mediumtext,
        `public_note` mediumtext,
        `students_count` VARCHAR(20),
        `course_status` enum('enabled','disabled') NOT NULL DEFAULT 'enabled',
        `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
        PRIMARY KEY (`course_id`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    DROP TABLE IF EXISTS `instructor_course_link`;
    CREATE TABLE `instructor_course_link` (
        `instructor_course_link_id` INT(11) NOT NULL auto_increment,
        `course_id` INT(11) NOT NULL default 0,
        `instructor_borrowernumber` INT(11) NOT NULL default 0,
        PRIMARY KEY (`instructor_course_link_id`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    DROP TABLE IF EXISTS `course_reserves`;
    CREATE TABLE `course_reserves` (
        `course_reserve_id` INT(11) NOT NULL auto_increment,
        `course_id` INT(11) NOT NULL,
        `itemnumber` INT(11) NOT NULL,
        `staff_note` mediumtext,
        `public_note` mediumtext,
        `itemtype` VARCHAR(10) default NULL,
        `ccode` VARCHAR(10) default NULL,
        `location` varchar(80) default NULL,
        `branchcode` varchar(10) NOT NULL,
        `original_itemtype` VARCHAR(10) default NULL,
        `original_ccode` VARCHAR(10) default NULL,
        `original_branchcode` varchar(10) NOT NULL,
        `original_location` varchar(80) default NULL,
        `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
        PRIMARY KEY (`course_reserve_id`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    INSERT INTO `authorised_values` ( category, authorised_value, lib ) values ( 'DE
    PARTMENT', 'Default', 'Default Department' );
    INSERT INTO `authorised_values` ( category, authorised_value, lib ) values ( 'TE
    RM', 'Default', 'Default Term' );
    
    INSERT INTO permissions (module_bit,code,description) VALUES ( 1, 'manage_course
    s', 'View, Create, Edit and Delete Courses'), ( 1, 'put_coursereserves', 'Basic
    Course Reserves access,  user can put items on course reserve'), ( 1, 'remove_co
    ursereserves', 'Take items off course reserve'), ( 1, 'checkout_via_proxy', 'Che
    ckout via Proxy'), ( 4, 'create_proxy_relationships', 'Create Proxy Relationship
    s'), ( 4, 'edit_proxy_relationships', 'Edit Proxy Relationships'), ( 4, 'delete_
    proxy_relationships', 'Delete Proxy Relationships');
    
    Additionally added the following to /etc/zebradb/biblios/etc/bib1.att...
    att 9016    Course
    att 9017    Instructor
    att 9018    srcnum
    
    There still appear to be some small bugs, but I think in this current
    version, it's good enough for in-house and/or client testing.
Something went wrong with that request. Please try again.