Changeset 13156


Ignore:
Timestamp:
2006-10-20T14:59:04+13:00 (18 years ago)
Author:
mdewsnip
Message:

Now sorts function and construction information by year.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cic-hcap/perllib/plugins/CICPlug.pm

    r13152 r13156  
    513513
    514514    # Prepare SQL statement for getting the Place construction dates
    515     my $place_construction_dates_sql_statement = "SELECT Prefix,Date,Note,Architect_Name FROM tblConstruction_and_Dates WHERE Entry_ID=?";
     515    my $place_construction_dates_sql_statement = "SELECT Prefix,Date,Note,Architect_Name FROM tblConstruction_and_Dates WHERE Entry_ID=? ORDER BY Date";
    516516    my $place_construction_dates_sql_handle = $dbh->prepare($place_construction_dates_sql_statement);
    517517
     
    532532
    533533    # Prepare SQL statement for getting the Place functions
    534     my $place_functions_sql_statement = "SELECT Function,Year,Prefix FROM tblFunction_and_dates WHERE Entry_ID=?";
     534    my $place_functions_sql_statement = "SELECT Function,Year,Prefix FROM tblFunction_and_dates WHERE Entry_ID=? ORDER BY Year";
    535535    my $place_functions_sql_handle = $dbh->prepare($place_functions_sql_statement);
    536536    $place_functions_sql_handle->{LongReadLen} = 65536;
Note: See TracChangeset for help on using the changeset viewer.