Bugzilla – Attachment 99382 Details for
Bug 22774
Add ability to limit the number of purchase suggestions a patron may submit in a specified time period
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22774: (follow-up) New systempreferences for suggestions
Bug-22774-follow-up-New-systempreferences-for-sugg.patch (text/plain), 2.46 KB, created by
Devinim
on 2020-02-21 14:14:42 UTC
(
hide
)
Description:
Bug 22774: (follow-up) New systempreferences for suggestions
Filename:
MIME Type:
Creator:
Devinim
Created:
2020-02-21 14:14:42 UTC
Size:
2.46 KB
patch
obsolete
>From 73d5823961de370ddb3041afd5ce4ba3a24bf73b Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Nazl=C4=B1=20=C3=87etin?= <nazli@devinim.com.tr> >Date: Fri, 21 Feb 2020 14:13:41 +0000 >Subject: [PATCH] Bug 22774: (follow-up) New systempreferences for suggestions > >--- > installer/data/mysql/atomicupdate/bug_22774.perl | 4 ++-- > .../prog/en/modules/admin/preferences/opac.pref | 16 ---------------- > 2 files changed, 2 insertions(+), 18 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_22774.perl b/installer/data/mysql/atomicupdate/bug_22774.perl >index d0e4a06466..e46e40cbaf 100644 >--- a/installer/data/mysql/atomicupdate/bug_22774.perl >+++ b/installer/data/mysql/atomicupdate/bug_22774.perl >@@ -3,8 +3,8 @@ if( CheckVersion( $DBversion ) ) { > # you can use $dbh here like: > $dbh->do( q{ > INSERT IGNORE INTO systempreferences (variable,value,explanation,type) VALUES >- ('MaxTotalSuggestions','3','Number of total suggestions','free'), >- ('NumberOfSuggestionDays','30','days','free') >+ ('MaxTotalSuggestions','','Number of total suggestions','Free'), >+ ('NumberOfSuggestionDays','','days','Free') > }); > > # or perform some test and warn >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >index add5ca497f..8f0ef56c95 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >@@ -701,28 +701,12 @@ OPAC: > - pref: MaxOpenSuggestions > class: integer > - "open suggestions. Leave empty for no limit. **Note: this setting does not affect anonymous suggestions" >-<<<<<<< HEAD >-======= > - > - Number of total suggestions > - pref: MaxTotalSuggestions >- default: 3 > class: integer > - "for" > - pref: NumberOfSuggestionDays >- default: 30 >- class: integer >- - "days." >- Privacy: >->>>>>>> Bug 22774: New systempreferences for suggestions >- - >- - Number of total suggestions >- - pref: MaxTotalSuggestions >- default: 3 >- class: integer >- - "for" >- - pref: NumberOfSuggestionDays >- default: 30 > class: integer > - "days." > Privacy: >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22774
:
95940
|
95941
|
97061
|
97070
|
97071
|
99045
|
99046
|
99380
|
99381
|
99382
|
100192
|
100193
|
100912
|
100913
|
101448
|
102882
|
102883
|
102884
|
102885
|
102886