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

(-)a/installer/data/mysql/atomicupdate/bug_22774.perl (-2 / +2 lines)
Lines 3-10 if( CheckVersion( $DBversion ) ) { Link Here
3
    # you can use $dbh here like:
3
    # you can use $dbh here like:
4
    $dbh->do( q{
4
    $dbh->do( q{
5
            INSERT IGNORE INTO systempreferences (variable,value,explanation,type) VALUES
5
            INSERT IGNORE INTO systempreferences (variable,value,explanation,type) VALUES
6
                ('MaxTotalSuggestions','3','Number of total suggestions','free'),
6
                ('MaxTotalSuggestions','','Number of total suggestions','Free'),
7
                ('NumberOfSuggestionDays','30','days','free')
7
                ('NumberOfSuggestionDays','','days','Free')
8
            });
8
            });
9
9
10
    # or perform some test and warn
10
    # or perform some test and warn
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-17 lines)
Lines 701-728 OPAC: Link Here
701
            - pref: MaxOpenSuggestions
701
            - pref: MaxOpenSuggestions
702
              class: integer
702
              class: integer
703
            - "open suggestions. Leave empty for no limit. **Note: this setting does not affect anonymous suggestions"
703
            - "open suggestions. Leave empty for no limit. **Note: this setting does not affect anonymous suggestions"
704
<<<<<<< HEAD
705
=======
706
        -
704
        -
707
            - Number of total suggestions
705
            - Number of total suggestions
708
            - pref: MaxTotalSuggestions
706
            - pref: MaxTotalSuggestions
709
              default: 3
710
              class: integer
707
              class: integer
711
            - "for"
708
            - "for"
712
            - pref: NumberOfSuggestionDays
709
            - pref: NumberOfSuggestionDays
713
              default: 30
714
              class: integer
715
            - "days."
716
    Privacy:
717
>>>>>>> Bug 22774: New systempreferences for suggestions
718
        -
719
            - Number of total suggestions
720
            - pref: MaxTotalSuggestions
721
              default: 3
722
              class: integer
723
            - "for"
724
            - pref: NumberOfSuggestionDays
725
              default: 30
726
              class: integer
710
              class: integer
727
            - "days."
711
            - "days."
728
    Privacy:
712
    Privacy:
729
- 

Return to bug 22774