[Koha-bugs] [Bug 17378] Add ability to specify maximum number of items per record

2018-10-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17378

Cori Lynn Arnold  changed:

   What|Removed |Added

 Status|Needs Signoff   |Failed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17378] Add ability to specify maximum number of items per record

2018-10-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17378

--- Comment #9 from Cori Lynn Arnold  ---
It also won't allow you to add 4 items as duplicates, so the functionality is
inconsistent.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17378] Add ability to specify maximum number of items per record

2018-10-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17378

Cori Lynn Arnold  changed:

   What|Removed |Added

 CC||carn...@dgiinc.com

--- Comment #8 from Cori Lynn Arnold  ---

It seems a little strange that if the threshold is 3 that 4 items can be
attached...

I started with a record that had two items, attached a third and expected to
get the message at that point that I couldn't add a fourth, but I proceeded to
add a fourth and then got the message I couldn't add a fifth. I think if the
threshold is 3 that only 3 items should be able to be attached.

--cori lynn

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17378] Add ability to specify maximum number of items per record

2018-10-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17378

Kyle M Hall  changed:

   What|Removed |Added

 Status|Patch doesn't apply |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17378] Add ability to specify maximum number of items per record

2018-10-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17378

Kyle M Hall  changed:

   What|Removed |Added

  Attachment #75018|0   |1
is obsolete||

--- Comment #7 from Kyle M Hall  ---
Created attachment 81279
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81279&action=edit
Bug 17378: Add ability to specify maximum number of items per record

Some libraries want to be able to specify a hard limit on the number of items a
record can have. It would be nice to have this set per record type, but since
most libraries use item level itemtypes, that would make it confusing and
non-intuitive. The simplest and most straight forward approach would just be to
have a system preference. Koha should then just report that it failed to create
an item if the librarian has hit the upper limit specified in the system
preference.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Set the new syspref RecordItemLimit to 3
4) Find a record with 4 or more records
5) Note in the catalog toolbar you cannot choose the add new item option
6) Note in the items editor you can edit items but not add new ones

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17378] Add ability to specify maximum number of items per record

2018-08-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17378

Cab Vinton  changed:

   What|Removed |Added

 Status|Needs Signoff   |Patch doesn't apply
 CC||bibli...@gmail.com

--- Comment #6 from Cab Vinton  ---
The sandbox you've requested is not ready.
Some problems occurred applying patches from bug 17378:
Something went wrong !Applying: Bug 17378: Add ability to specify
maximum number of items per record
.git/rebase-apply/patch:159: trailing whitespace.

warning: 1 line adds whitespace errors.
.git/rebase-apply/patch:159: trailing whitespace.

w
arning: 
1
 line adds whitespace errors.

e
rror: 
F
ailed to merge in the changes.

Using index info to reconstruct a base tree...
M   installer/data/mysql/sysprefs.sql
M   koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc
M   koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt
M   koha-tmpl/intranet-tmpl/prog/js/catalog.js
Falling back to patching base and 3-way merge...
Auto-merging koha-tmpl/intranet-tmpl/prog/js/catalog.js
Auto-merging koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt
CONFLICT (content): Merge conflict in
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt
Auto-merging koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc
CONFLICT (content): Merge conflict in
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc
Auto-merging installer/data/mysql/sysprefs.sql
Patch failed at 0001 Bug 17378: Add ability to specify maximum number of items
per record
The copy of the patch that failed is found in: .git/rebase-apply/patch
When you have resolved this problem run git bz apply --continue.
If you would prefer to skip this patch, instead run git bz apply --skip.
To restore the original branch and stop patching run git bz apply --abort.
Bug 17378 - Add ability to specify maximum number of items per record

75018 - Bug 17378: Add ability to specify maximum number of items per record

Apply? [(y)es, (n)o, (i)nteractive] Patch left in
/tmp/Bug-17378-Add-ability-to-specify-maximum-number-of-9CbVVm.patch .

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17378] Add ability to specify maximum number of items per record

2018-05-03 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17378

--- Comment #5 from Kyle M Hall  ---
Created attachment 75018
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75018&action=edit
Bug 17378: Add ability to specify maximum number of items per record

Some libraries want to be able to specify a hard limit on the number of items a
record can have. It would be nice to have this set per record type, but since
most libraries use item level itemtypes, that would make it confusing and
non-intuitive. The simplest and most straight forward approach would just be to
have a system preference. Koha should then just report that it failed to create
an item if the librarian has hit the upper limit specified in the system
preference.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Set the new syspref RecordItemLimit to 3
4) Find a record with 4 or more records
5) Note in the catalog toolbar you cannot choose the add new item option
6) Note in the items editor you can edit items but not add new ones

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17378] Add ability to specify maximum number of items per record

2018-05-03 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17378

Kyle M Hall  changed:

   What|Removed |Added

 Status|NEW |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17378] Add ability to specify maximum number of items per record

2018-05-03 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17378

--- Comment #4 from Kyle M Hall  ---
(In reply to Katrin Fischer from comment #3)
> Hm, as the problem also depends on the record size, maybe we could check
> this dynamically? Every number of items set to a max seems like mostly
> guessing/luck.

Indeed it is an educated guess, but with much lower overhead. I think checking
record sizes would overly-complicate the libraries request. They have a good
understanding of the size of their items and how many they can put on a record
before it will  no longer be indexed by zebra.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17378] Add ability to specify maximum number of items per record

2017-08-15 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17378

--- Comment #3 from Katrin Fischer  ---
Hm, as the problem also depends on the record size, maybe we could check this
dynamically? Every number of items set to a max seems like mostly
guessing/luck.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17378] Add ability to specify maximum number of items per record

2017-08-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17378

--- Comment #2 from Kyle M Hall  ---
(In reply to Katrin Fischer from comment #1)
> Bit puzzled about this one - do you know what the use case is?

Because Zebra is size-bound, this will help libraries control the number of
items on a record. In general there is a threshold where more items will make
the record no longer show in zebra search results because it is too large.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17378] Add ability to specify maximum number of items per record

2016-10-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17378

Katrin Fischer  changed:

   What|Removed |Added

 CC||katrin.fisc...@bsz-bw.de

--- Comment #1 from Katrin Fischer  ---
Bit puzzled about this one - do you know what the use case is?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/