[OPEN-ILS-DEV] Suggested Patch: Block Renews for Holds
Dan Wells
dbw2 at calvin.edu
Wed Mar 10 14:55:58 EST 2010
Hello again,
Attached you will now find two versions of the patch, one for rel_1_6_0 and one for trunk. The rel_1_6_0 version only differs from the first version in adding a new matching permission to the data seed file. The trunk version populates the config.org_unit_setting_type table rather than the org_unit_settings.xhtml file. I have less confidence in the trunk version due to lack of experience, and the permissions table adds should be double-checked in both cases, as trunk and rel_1_6_0 populate these tables quite differently.
Thanks,
Dan
>>> On 3/10/2010 at 1:26 PM, Dan Wells<dbw2 at calvin.edu> (Dan Wells) wrote:
> Hello all,
>
> The attached patch is a very simple means of allowing an option for the
> blocking of renews if an item is targeted for a hold. There was some
> discussion on IRC about the 'best' way to do this, but other ways (in my
> opinion) ended up as just too far-reaching for what should be a simple
> feature.
>
> This is tested and in production at our in-db-circ site, but I think it will
> work for script-based-circ as well. The patch targets rel_1_6_0.
>
> Thanks,
> Dan
>
> =============================================
> Developer's Certificate of Origin 1.1
>
> By making a contribution to this project, I certify that:
>
> (a) The contribution was created in whole or in part by me and I
> have the right to submit it under the open source license
> indicated in the file; or
>
> (b) The contribution is based upon previous work that, to the best
> of my knowledge, is covered under an appropriate open source
> license and I have the right under that license to submit that
> work with modifications, whether created in whole or in part
> by me, under the same open source license (unless I am
> permitted to submit under a different license), as indicated
> in the file; or
>
> (c) The contribution was provided directly to me by some other
> person who certified (a), (b) or (c) and I have not modified
> it.
>
> (d) I understand and agree that this project and the contribution
> are public and that a record of the contribution (including all
> personal information I submit with it, including my sign-off) is
> maintained indefinitely and may be redistributed consistent with
> this project or the open source license(s) involved.
>
> Signed-off-by: Daniel B. Wells
> =============================================
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: block_renews_for_holds-rel_1_6_0-with-seed.diff
Type: application/octet-stream
Size: 4274 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100310/3f5ed71d/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: block_renews_for_holds-trunk.diff
Type: application/octet-stream
Size: 4187 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100310/3f5ed71d/attachment-0003.obj
More information about the Open-ils-dev
mailing list