Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Hardy, Elaine
Just so you know, there is a reason why the age protection remains, but it 
is PINES specific. A PINES library, prior to Evergreen, was returning items 
to age protection after it expired so that no other system’s patrons could 
place holds. To prevent that, age protection in Evergreen was designed to 
remain after expiration so that it could not be reassigned to an item.



Elaine



J. Elaine Hardy
PINES & Collaborative Projects Manager
Georgia Public Library Service
1800 Century Place, Ste 150
Atlanta, Ga. 30345-4304



404.235.7128
404.235.7201, fax
eha...@georgialibraries.org
www.georgialibraries.org
www.georgialibraries.org/pines



From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Tim 
Spindler
Sent: Tuesday, December 15, 2015 10:48 AM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired



We have a cron that runs to do this from an SQL script.



On Tue, Dec 15, 2015 at 10:27 AM, Blake Henderson 
 wrote:

Josh,

We have a custom made perl cron job to remove the protection. I didn't 
realize it was a bug! I would be happy to share the perl script (it is 
fairly custom to our needs but it can be adapted easily)



-Blake-
Conducting Magic
MOBIUS
573-234-4513
877-312-3517

On 12/15/2015 9:24 AM, Josh Stompro wrote:

Hello, does anyone else out there remove the age protection from copies 
after it has expired.  I’ve been asked to set that up, and it seems like a 
shame since it was designed to just work automatically, except that items 
with expired age protection still show up as age protected in the catalog. 
There is a bug open about it at 
https://bugs.launchpad.net/evergreen/+bug/1251761



Does anyone currently go through and remove the age protection to get around 
that issue?  If so do you do it directly at the DB level or do you use the 
client?  Are there any gotchas about directly updating asset.copy to change 
the age protection and also changing the shelving location at the same time.



If anyone wants to combine resources to get that bug fixed, either with 
brain power or development funding let me know also.

Josh



Lake Agassiz Regional Library - Moorhead MN larl.org

Josh Stompro | Office 218.233.3757 EXT-139 

LARL IT Director | Cell 218.790.2110











-- 

Tim Spindler
tjspind...@gmail.com



P   Go Green - Save a tree! Please don't print this e-mail unless it's 
really necessary.





Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Chauncey Montgomery
We use a low-tech method: a reoccurring monthly report shows items 
needing age protection removed.  We import the barcodes into item status 
and batch remove the protection.  Not fully automated, but takes less 
than five minutes and anyone on staff can do it.

CM

On 12/15/2015 11:07 AM, Hardy, Elaine wrote:

Just so you know, there is a reason why the age protection remains, but
it is PINES specific. A PINES library, prior to Evergreen, was returning
items to age protection after it expired so that no other system’s
patrons could place holds. To prevent that, age protection in Evergreen
was designed to remain after expiration so that it could not be
reassigned to an item.

/Elaine/

J. Elaine Hardy
PINES & Collaborative Projects Manager
Georgia Public Library Service
1800 Century Place, Ste 150
Atlanta, Ga. 30345-4304

404.235.7128
404.235.7201, fax
eha...@georgialibraries.org
www.georgialibraries.org
www.georgialibraries.org/pines

*From:*Open-ils-general
[mailto:open-ils-general-boun...@list.georgialibraries.org] *On Behalf
Of *Tim Spindler
*Sent:* Tuesday, December 15, 2015 10:48 AM
*To:* Evergreen Discussion Group
*Subject:* Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

We have a cron that runs to do this from an SQL script.

On Tue, Dec 15, 2015 at 10:27 AM, Blake Henderson
> wrote:

Josh,

We have a custom made perl cron job to remove the protection. I didn't
realize it was a bug! I would be happy to share the perl script (it is
fairly custom to our needs but it can be adapted easily)

-Blake-

Conducting Magic

MOBIUS

573-234-4513 

877-312-3517 

On 12/15/2015 9:24 AM, Josh Stompro wrote:

Hello, does anyone else out there remove the age protection from
copies after it has expired.  I’ve been asked to set that up, and it
seems like a shame since it was designed to just work automatically,
except that items with expired age protection still show up as age
protected in the catalog.  There is a bug open about it at
https://bugs.launchpad.net/evergreen/+bug/1251761

Does anyone currently go through and remove the age protection to
get around that issue?  If so do you do it directly at the DB level
or do you use the client?  Are there any gotchas about directly
updating asset.copy to change the age protection and also changing
the shelving location at the same time.

If anyone wants to combine resources to get that bug fixed, either
with brain power or development funding let me know also.

Josh

Lake Agassiz Regional Library - Moorhead MN larl.org 

Josh Stompro | Office 218.233.3757 EXT-139


LARL IT Director | Cell 218.790.2110 



--

Tim Spindler
tjspind...@gmail.com 

*P**   Go Green - **Save a tree! Please don't print this e-mail unless
it's really necessary.*


--
Chauncey G. Montgomery, MLIS
Director/Fiscal Officer | Community Library
44 Burrer Drive | Sunbury, OH 43074
740-965-3901 | http://community.lib.oh.us


Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Bob Wicksall
Instead of turning off age protect we modified the way the TPac displays the 
message. We do some date math and adjust the message accordingly. Staff and 
patrons get different messages since "Age Protect" is meaningless to a patron. 

Our TPac is fairly heavily modified. Here is a code 
snip(opac/parts/record/copy_table.tt2): 

138 [%- IF copy_info.age_protect AND copy_info.create_date; 
139 create_date = date.format(ctx.parse_datetime(copy_info.create_date), 
"%Y%m%d"); 
140 today = date.format(date.now, "%Y%m%d"); 
141 
142 age_protect_age = ctx.get_crahp(copy_info.age_protect).age; 
143 
144 manip = date.manip; 
145 expire_date = manip.DateCalc(create_date, age_protect_age.replace('mons', 
'months')); 
146 expire_date_format = manip.UnixDate(expire_date, DATE_FORMAT); 
147 expire_date = manip.UnixDate(expire_date, "%Y%m%d"); 
148 
149 expire_msg = ''; 
150 age_protect_is_active = 0; 
151 
152 IF today > expire_date; 
153 date_color = 'green'; 
154 age_protect = l('Expired'); 
155 ELSE; 
156 date_color = 'orange'; 
157 age_protect = l('Active'); 
158 expire_msg = expire_date_format; 
159 age_protect_is_active = 1; 
160 END ; 
161 ELSE; 
162 date_color = 'black'; 
163 age_protect = l('None'); 
164 expire_msg = '-'; 
165 age_protect_is_active = 0; 
166 END; 
167 %] 

Then for staff: 

168 [%- IF ctx.is_staff %] 
169  
170 [% age_protect | html %]  
171 [% expire_msg | html %] 
172  
173 [% 
174 IF copy_info.create_date; 
175 date.format( 
176 ctx.parse_datetime(copy_info.create_date), 
177 DATE_FORMAT 
178 ); 
179 ELSE; 
180 '-'; 
181 END; 
182 %] 
183 [% END # is_staff %] 

For patrons: 

247 [%- IF age_protect_is_active AND !ctx.is_staff %] 
248  
249  
250 This copy is new and can only be 
picked up at this library. 
251  
252 [%- END %] 

Bob Wicksall 
Computer and Network Services Manager 

Pioneer Library System 
2557 State Rt. 21 
Canandaigua, New York 14424 

Voice: (585) 394-8260 ext. 110 
Fax: (585) 394-1935 

> From: "Josh Stompro" 
> To: "Evergreen Discussion Group" 
> Sent: Tuesday, December 15, 2015 10:24:16 AM
> Subject: [OPEN-ILS-GENERAL] Removing Age Protection after expired

> Hello, does anyone else out there remove the age protection from copies after 
> it
> has expired. I’ve been asked to set that up, and it seems like a shame since 
> it
> was designed to just work automatically, except that items with expired age
> protection still show up as age protected in the catalog. There is a bug open
> about it at https://bugs.launchpad.net/evergreen/+bug/1251761

> Does anyone currently go through and remove the age protection to get around
> that issue? If so do you do it directly at the DB level or do you use the
> client? Are there any gotchas about directly updating asset.copy to change the
> age protection and also changing the shelving location at the same time.

> If anyone wants to combine resources to get that bug fixed, either with brain
> power or development funding let me know also.

> Josh

> Lake Agassiz Regional Library - Moorhead MN larl.org

> Josh Stompro | Office 218.233.3757 EXT-139

> LARL IT Director | Cell 218.790.2110


Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Josh Stompro
Blake and Tim, I would appreciate being able to see your scripts.
Thanks

Josh Stompro - LARL IT Director

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Blake 
Henderson
Sent: Tuesday, December 15, 2015 9:27 AM
To: open-ils-general@list.georgialibraries.org
Subject: Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

Josh,

We have a custom made perl cron job to remove the protection. I didn't realize 
it was a bug! I would be happy to share the perl script (it is fairly custom to 
our needs but it can be adapted easily)


-Blake-

Conducting Magic

MOBIUS

573-234-4513

877-312-3517
On 12/15/2015 9:24 AM, Josh Stompro wrote:
Hello, does anyone else out there remove the age protection from copies after 
it has expired.  I've been asked to set that up, and it seems like a shame 
since it was designed to just work automatically, except that items with 
expired age protection still show up as age protected in the catalog.  There is 
a bug open about it at https://bugs.launchpad.net/evergreen/+bug/1251761

Does anyone currently go through and remove the age protection to get around 
that issue?  If so do you do it directly at the DB level or do you use the 
client?  Are there any gotchas about directly updating asset.copy to change the 
age protection and also changing the shelving location at the same time.

If anyone wants to combine resources to get that bug fixed, either with brain 
power or development funding let me know also.
Josh

Lake Agassiz Regional Library - Moorhead MN larl.org
Josh Stompro | Office 218.233.3757 EXT-139
LARL IT Director | Cell 218.790.2110




Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Josh Stompro
Thanks Chauncey, I'm curious though, if that bug was addressed, so it was clear 
to staff in the catalog when the age protection was expired, would you still go 
through this process every month?  Or are there other reasons that you remove 
the age protection settings?

Josh Stompro - LARL IT Director


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
Chauncey Montgomery
Sent: Tuesday, December 15, 2015 11:34 AM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

We use a low-tech method: a reoccurring monthly report shows items needing age 
protection removed.  We import the barcodes into item status and batch remove 
the protection.  Not fully automated, but takes less than five minutes and 
anyone on staff can do it.
CM

On 12/15/2015 11:07 AM, Hardy, Elaine wrote:
> Just so you know, there is a reason why the age protection remains, 
> but it is PINES specific. A PINES library, prior to Evergreen, was 
> returning items to age protection after it expired so that no other 
> system’s patrons could place holds. To prevent that, age protection in 
> Evergreen was designed to remain after expiration so that it could not 
> be reassigned to an item.
>
> /Elaine/
>
> J. Elaine Hardy
> PINES & Collaborative Projects Manager Georgia Public Library Service
> 1800 Century Place, Ste 150
> Atlanta, Ga. 30345-4304
>
> 404.235.7128
> 404.235.7201, fax
> eha...@georgialibraries.org
> www.georgialibraries.org
> www.georgialibraries.org/pines
>
> *From:*Open-ils-general
> [mailto:open-ils-general-boun...@list.georgialibraries.org] *On Behalf 
> Of *Tim Spindler
> *Sent:* Tuesday, December 15, 2015 10:48 AM
> *To:* Evergreen Discussion Group
> *Subject:* Re: [OPEN-ILS-GENERAL] Removing Age Protection after 
> expired
>
> We have a cron that runs to do this from an SQL script.
>
> On Tue, Dec 15, 2015 at 10:27 AM, Blake Henderson 
> > wrote:
>
> Josh,
>
> We have a custom made perl cron job to remove the protection. I didn't 
> realize it was a bug! I would be happy to share the perl script (it is 
> fairly custom to our needs but it can be adapted easily)
>
> -Blake-
>
> Conducting Magic
>
> MOBIUS
>
> 573-234-4513 
>
> 877-312-3517 
>
> On 12/15/2015 9:24 AM, Josh Stompro wrote:
>
> Hello, does anyone else out there remove the age protection from
> copies after it has expired.  I’ve been asked to set that up, and it
> seems like a shame since it was designed to just work automatically,
> except that items with expired age protection still show up as age
> protected in the catalog.  There is a bug open about it at
> https://bugs.launchpad.net/evergreen/+bug/1251761
>
> Does anyone currently go through and remove the age protection to
> get around that issue?  If so do you do it directly at the DB level
> or do you use the client?  Are there any gotchas about directly
> updating asset.copy to change the age protection and also changing
> the shelving location at the same time.
>
> If anyone wants to combine resources to get that bug fixed, either
> with brain power or development funding let me know also.
>
> Josh
>
> Lake Agassiz Regional Library - Moorhead MN larl.org 
> 
>
> Josh Stompro | Office 218.233.3757 EXT-139
> 
>
> LARL IT Director | Cell 218.790.2110 
>
>
>
> --
>
> Tim Spindler
> tjspind...@gmail.com 
>
> *P**   Go Green - **Save a tree! Please don't print this e-mail unless
> it's really necessary.*
>
--
Chauncey G. Montgomery, MLIS
Director/Fiscal Officer | Community Library
44 Burrer Drive | Sunbury, OH 43074
740-965-3901 | http://community.lib.oh.us


Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Tim Spindler
Josh,

You may not need this but here is the SQL.  It is tied to a cron.

UPDATE asset.copy SET age_protect=null WHERE id IN
(SELECT ac.id FROM asset.copy ac INNER JOIN config.rule_age_hold_protect p
ON ac.age_protect=p.id WHERE now()>ac.active_date + cast(p.age as
interval));

On Tue, Dec 15, 2015 at 12:34 PM, Josh Stompro 
wrote:

> Blake and Tim, I would appreciate being able to see your scripts.
>
> Thanks
>
>
>
> Josh Stompro - LARL IT Director
>
>
>
> *From:* Open-ils-general [mailto:
> open-ils-general-boun...@list.georgialibraries.org] *On Behalf Of *Blake
> Henderson
> *Sent:* Tuesday, December 15, 2015 9:27 AM
> *To:* open-ils-general@list.georgialibraries.org
> *Subject:* Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired
>
>
>
> Josh,
>
> We have a custom made perl cron job to remove the protection. I didn't
> realize it was a bug! I would be happy to share the perl script (it is
> fairly custom to our needs but it can be adapted easily)
>
> -Blake-
>
> Conducting Magic
>
> MOBIUS
>
> 573-234-4513
>
> 877-312-3517
>
> On 12/15/2015 9:24 AM, Josh Stompro wrote:
>
> Hello, does anyone else out there remove the age protection from copies
> after it has expired.  I’ve been asked to set that up, and it seems like a
> shame since it was designed to just work automatically, except that items
> with expired age protection still show up as age protected in the catalog.
> There is a bug open about it at
> https://bugs.launchpad.net/evergreen/+bug/1251761
>
>
>
> Does anyone currently go through and remove the age protection to get
> around that issue?  If so do you do it directly at the DB level or do you
> use the client?  Are there any gotchas about directly updating asset.copy
> to change the age protection and also changing the shelving location at the
> same time.
>
>
>
> If anyone wants to combine resources to get that bug fixed, either with
> brain power or development funding let me know also.
>
> Josh
>
>
>
> Lake Agassiz Regional Library - Moorhead MN larl.org
>
> Josh Stompro | Office 218.233.3757 EXT-139
>
> LARL IT Director | Cell 218.790.2110
>
>
>
>
>



-- 
Tim Spindler
tjspind...@gmail.com

*P**   Go Green - **Save a tree! Please don't print this e-mail unless it's
really necessary.*


Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Chauncey Montgomery

We'd stop using our current method.
CM

On 12/15/2015 12:47 PM, Josh Stompro wrote:

Thanks Chauncey, I'm curious though, if that bug was addressed, so it was clear 
to staff in the catalog when the age protection was expired, would you still go 
through this process every month?  Or are there other reasons that you remove 
the age protection settings?

Josh Stompro - LARL IT Director


-Original Message-
From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
Chauncey Montgomery
Sent: Tuesday, December 15, 2015 11:34 AM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

We use a low-tech method: a reoccurring monthly report shows items needing age 
protection removed.  We import the barcodes into item status and batch remove 
the protection.  Not fully automated, but takes less than five minutes and 
anyone on staff can do it.
CM

On 12/15/2015 11:07 AM, Hardy, Elaine wrote:

Just so you know, there is a reason why the age protection remains,
but it is PINES specific. A PINES library, prior to Evergreen, was
returning items to age protection after it expired so that no other
system’s patrons could place holds. To prevent that, age protection in
Evergreen was designed to remain after expiration so that it could not
be reassigned to an item.

/Elaine/

J. Elaine Hardy
PINES & Collaborative Projects Manager Georgia Public Library Service
1800 Century Place, Ste 150
Atlanta, Ga. 30345-4304

404.235.7128
404.235.7201, fax
eha...@georgialibraries.org
www.georgialibraries.org
www.georgialibraries.org/pines

*From:*Open-ils-general
[mailto:open-ils-general-boun...@list.georgialibraries.org] *On Behalf
Of *Tim Spindler
*Sent:* Tuesday, December 15, 2015 10:48 AM
*To:* Evergreen Discussion Group
*Subject:* Re: [OPEN-ILS-GENERAL] Removing Age Protection after
expired

We have a cron that runs to do this from an SQL script.

On Tue, Dec 15, 2015 at 10:27 AM, Blake Henderson
> wrote:

Josh,

We have a custom made perl cron job to remove the protection. I didn't
realize it was a bug! I would be happy to share the perl script (it is
fairly custom to our needs but it can be adapted easily)

-Blake-

Conducting Magic

MOBIUS

573-234-4513 

877-312-3517 

On 12/15/2015 9:24 AM, Josh Stompro wrote:

 Hello, does anyone else out there remove the age protection from
 copies after it has expired.  I’ve been asked to set that up, and it
 seems like a shame since it was designed to just work automatically,
 except that items with expired age protection still show up as age
 protected in the catalog.  There is a bug open about it at
 https://bugs.launchpad.net/evergreen/+bug/1251761

 Does anyone currently go through and remove the age protection to
 get around that issue?  If so do you do it directly at the DB level
 or do you use the client?  Are there any gotchas about directly
 updating asset.copy to change the age protection and also changing
 the shelving location at the same time.

 If anyone wants to combine resources to get that bug fixed, either
 with brain power or development funding let me know also.

 Josh

 Lake Agassiz Regional Library - Moorhead MN larl.org


 Josh Stompro | Office 218.233.3757 EXT-139
 

 LARL IT Director | Cell 218.790.2110 



--

Tim Spindler
tjspind...@gmail.com 

*P**   Go Green - **Save a tree! Please don't print this e-mail unless
it's really necessary.*


--
Chauncey G. Montgomery, MLIS
Director/Fiscal Officer | Community Library
44 Burrer Drive | Sunbury, OH 43074
740-965-3901 | http://community.lib.oh.us



[OPEN-ILS-GENERAL] Upcoming Evergreen for Academics meeting - Thursday, December 18 - Topic: Reserves

2015-12-15 Thread Yamil Suarez
Hello everyone,

The Evergreen for Academics group has its next meeting scheduled for
Thursday, December 18, 2015 at 2:00 PM EST on the #Evergreen IRC
channel (http://evergreen-ils.org/irc).

All are welcome. An agenda has been posted at

Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Blake Henderson

Josh,

It's in the same github repo with all of our other stuff:

https://github.com/mcoia/mobius_evergreen/blob/master/Random/age_protect_remove.pl

You will need Mobiusutil.pm and Loghandler.pm and maybe another library 
(located in the root of the repo)



-Blake-
Conducting Magic
MOBIUS
573-234-4513
877-312-3517

On 12/15/2015 11:34 AM, Josh Stompro wrote:


Blake and Tim, I would appreciate being able to see your scripts.

Thanks

Josh Stompro - LARL IT Director

*From:*Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] *On Behalf 
Of *Blake Henderson

*Sent:* Tuesday, December 15, 2015 9:27 AM
*To:* open-ils-general@list.georgialibraries.org
*Subject:* Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

Josh,

We have a custom made perl cron job to remove the protection. I didn't 
realize it was a bug! I would be happy to share the perl script (it is 
fairly custom to our needs but it can be adapted easily)


-Blake-
Conducting Magic
MOBIUS
573-234-4513
877-312-3517

On 12/15/2015 9:24 AM, Josh Stompro wrote:

Hello, does anyone else out there remove the age protection from
copies after it has expired.  I’ve been asked to set that up, and
it seems like a shame since it was designed to just work
automatically, except that items with expired age protection still
show up as age protected in the catalog.  There is a bug open
about it at https://bugs.launchpad.net/evergreen/+bug/1251761

Does anyone currently go through and remove the age protection to
get around that issue?  If so do you do it directly at the DB
level or do you use the client?  Are there any gotchas about
directly updating asset.copy to change the age protection and also
changing the shelving location at the same time.

If anyone wants to combine resources to get that bug fixed, either
with brain power or development funding let me know also.

Josh

Lake Agassiz Regional Library - Moorhead MN larl.org

Josh Stompro | Office 218.233.3757 EXT-139

LARL IT Director | Cell 218.790.2110





Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Martha Crawley
es_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l172>
 
173<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l173>
 [%
174<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l174>
 IF copy_info.create_date;
175<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l175>
 date.format(
176<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l176>
 ctx.parse_datetime(copy_info.create_date),
177<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l177>
 DATE_FORMAT
178<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l178>
 );
179<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l179>
 ELSE;
180<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l180>
'-';
181<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l181>
 END;
182<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l182>
 %]
183<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l183>
 [% END # is_staff %]

For patrons:

247<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l247>
 [%- IF age_protect_is_active AND !ctx.is_staff %]
248<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l248>
 
249<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l249>
   
250<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l250>
   This copy is new and can only 
be picked up at this library.
251<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l251>
 
252<http://git.pls-net.org/gitweb/?p=templates_owwl.git;a=blob;f=opac/parts/record/copy_table.tt2;h=e2fb580c57ff0eca832bd02ba865a4b42c6ebdb8;hb=rel_2_7#l252>
 [%- END %]

Bob Wicksall
Computer and Network Services Manager

Pioneer Library System
2557 State Rt. 21
Canandaigua, New York  14424

Voice: (585) 394-8260 ext. 110
Fax: (585) 394-1935


From: "Josh Stompro" 
<stomp...@exchange.larl.org<mailto:stomp...@exchange.larl.org>>
To: "Evergreen Discussion Group" 
<open-ils-general@list.georgialibraries.org<mailto:open-ils-general@list.georgialibraries.org>>
Sent: Tuesday, December 15, 2015 10:24:16 AM
Subject: [OPEN-ILS-GENERAL] Removing Age Protection after expired Hello, does 
anyone else out there remove the age protection from copies after it has 
expired.  I’ve been asked to set that up, and it seems like a shame since it 
was designed to just work automatically, except that items with expired age 
protection still show up as age protected in the catalog.  There is a bug open 
about it at https://bugs.launchpad.net/evergreen/+bug/1251761

Does anyone currently go through and remove the age protection to get around 
that issue?  If so do you do it directly at the DB level or do you use the 
client?  Are there any gotchas about directly updating asset.copy to change the 
age protection and also changing the shelving location at the same time.

If anyone wants to combine resources to get that bug fixed, either with brain 
power or development funding let me know also.
Josh

Lake Agassiz Regional Library - Moorhead MN larl.org
Josh Stompro | Office 218.233.3757 EXT-139
LARL IT Director | Cell 218.790.2110


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20151215/b8a13aac/attachment.html>

End of Open-ils-general Digest, Vol 114, Issue 14
*


Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Josh Stompro
Thanks Bob, this looks to me like it could be the solution to that bug.  I 
think our age protection goes off of the active_date, not the create_date so it 
would need to check that YAOUS to decide which one to use.  And the message to 
customers might be too specific for all cases, we use age protection on a 
regional level, so it wouldn’t make sense for us.  But I would be happy with 
not displaying anything to the public, just leaving that out.

Thanks for sharing this.  I’ll add a link to your message to that ticket so if 
anyone has time to work on a generic solution they have somewhere to start.

Josh Stompro - LARL IT Director

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Bob 
Wicksall
Sent: Tuesday, December 15, 2015 10:05 AM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

Instead of turning off age protect we modified the way the TPac displays the 
message.  We do some date math and adjust the message accordingly.  Staff and 
patrons get different messages since "Age Protect" is meaningless to a patron.

Our TPac is fairly heavily modified.  Here is a code 
snip(opac/parts/record/copy_table.tt2):

138
 [%- IF copy_info.age_protect AND copy_info.create_date;
139
   create_date = 
date.format(ctx.parse_datetime(copy_info.create_date), "%Y%m%d");
140
   today = date.format(date.now, "%Y%m%d");
141
142
   age_protect_age = ctx.get_crahp(copy_info.age_protect).age;
143
144
   manip = date.manip;
145
   expire_date = manip.DateCalc(create_date, 
age_protect_age.replace('mons', 'months'));
146
   expire_date_format = manip.UnixDate(expire_date, 
DATE_FORMAT);
147
   expire_date = manip.UnixDate(expire_date, "%Y%m%d");
148
149
   expire_msg = '';
150
   age_protect_is_active = 0;
151
152
   IF today > expire_date;
153
 date_color = 'green';
154
 age_protect = l('Expired');
155
   ELSE;

Re: [OPEN-ILS-GENERAL] Upcoming Evergreen for Academics meeting - Thursday, December 18 - Topic: Reserves

2015-12-15 Thread Kathy Lussier

Thanks Yamil!

I have added more detail to the agenda regarding the course reserves 
discussion at the meeting.


I would like to start with a general discussion on how current Evergreen 
sites are handling course reserves. Some of the questions we could 
discuss include:

- How are Evergreen libraries handling reserves?
- What are the pros and cons of your approach?
- Is there additional functionality that would make it easier?
- Are reserves still mostly needed for physical items are are you 
shifting more towards electronic use?


After the discussion, I would like to talk about a project here at 
MassLNC to formally move the Syrup course reserves system into 
Evergreen. We have some notes from a hack-a-way discussion about the 
project on the wiki at 
http://wiki.evergreen-ils.org/doku.php?id=scratchpad:course_reserves. I 
hope to have some more details available at the meeting and will be 
looking for feedback.


Kathy

On 12/15/2015 02:52 PM, Yamil Suarez wrote:

Hello everyone,

The Evergreen for Academics group has its next meeting scheduled for
Thursday, December 18, 2015 at 2:00 PM EST on the #Evergreen IRC
channel (http://evergreen-ils.org/irc).

All are welcome. An agenda has been posted at
http://evergreen-ils.org/dokuwiki/doku.php?id=evergreen_for_academics

Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Tim Spindler
We have a cron that runs to do this from an SQL script.

On Tue, Dec 15, 2015 at 10:27 AM, Blake Henderson <
bl...@mobiusconsortium.org> wrote:

> Josh,
>
> We have a custom made perl cron job to remove the protection. I didn't
> realize it was a bug! I would be happy to share the perl script (it is
> fairly custom to our needs but it can be adapted easily)
>
> -Blake-
> Conducting Magic
> MOBIUS573-234-4513877-312-3517
>
> On 12/15/2015 9:24 AM, Josh Stompro wrote:
>
> Hello, does anyone else out there remove the age protection from copies
> after it has expired.  I’ve been asked to set that up, and it seems like a
> shame since it was designed to just work automatically, except that items
> with expired age protection still show up as age protected in the catalog.
> There is a bug open about it at
> https://bugs.launchpad.net/evergreen/+bug/1251761
>
>
>
> Does anyone currently go through and remove the age protection to get
> around that issue?  If so do you do it directly at the DB level or do you
> use the client?  Are there any gotchas about directly updating asset.copy
> to change the age protection and also changing the shelving location at the
> same time.
>
>
>
> If anyone wants to combine resources to get that bug fixed, either with
> brain power or development funding let me know also.
>
> Josh
>
>
>
> Lake Agassiz Regional Library - Moorhead MN larl.org
>
> Josh Stompro | Office 218.233.3757 EXT-139
>
> LARL IT Director | Cell 218.790.2110
>
>
>
>
>


-- 
Tim Spindler
tjspind...@gmail.com

*P**   Go Green - **Save a tree! Please don't print this e-mail unless it's
really necessary.*


Re: [OPEN-ILS-GENERAL] Reminder! Community Bug Squashing Day is tomorrow!

2015-12-15 Thread Kathy Lussier

Hi all,

It's Bug Squashing Day! If you don't have time to fully test a bug fix, 
but have a few spare moments today, you can still help out!


A list of bugs that have not yet been confirmed is available at 
http://bit.ly/1Yhz4ai. If you can confirm the bug exists in your 
Evergreen system, set the status for the Launchpad bug to "Confirmed."


Every bit of bug wrangling helps us in the overall management of bugs 
submitted for Evergreen.


Happy Bug Squashing!

Kathy

On 12/14/2015 03:29 PM, Kathy Lussier wrote:

Hi all!

I'm just sending along a reminder that community Bug Squashing Day is 
tomorrow! Blake Henderson at MOBIUS and I have loaded 17 bug fixes on 
Sandboxes to get them ready for testing from eight volunteers.


Bug Squashing Day provides dedicated time when people in the community 
can help with bug wrangling activities, can test and provide feedback 
on patches that have been contributed to Evergreen, can work on fixing 
bugs, and, in the case of core committers, can merge bug fixes into 
the core software. If you didn't get a chance to request a Sandbox, 
there are still many ways you can help with Bug Squashing Day 
activities. Please see the Bug Squashing wiki page for more 
information: http://wiki.evergreen-ils.org/doku.php?id=dev:bug_squashing


Blake has also loaded several patches on MOBIUS Sandboxes that do not 
yet have volunteer testers. These patches include:


fm_IDL.xml metabib::record_attr_flat contains an incorrect link - 
https://bugs.launchpad.net/evergreen/+bug/1497374
Add column picker option for number of holds in item context - 
https://bugs.launchpad.net/evergreen/+bug/1402770
Payment by billing type breakdown - 
https://bugs.launchpad.net/evergreen/+bug/1174498


If anyone is interested in testing code for those bugs/features, 
please follow up with Blake at bl...@mobiusconsortium.org for more 
information on how to access the Sandbox.


If you've always been interested in helping out on Bug Squashing Day 
but don't know exactly how to get started, I will be in the #evergreen 
IRC channel from 8 a.m. to 1 p.m. EST and again from 2 p.m. to 5 p.m. 
EST to answer any questions and to help you get started. You can also 
send me an email with questions on how to help out.


Thanks in advance to everyone who will be helping out tomorrow!

Kathy
--
Kathy Lussier
Project Coordinator
Massachusetts Library Network Cooperative
(508) 343-0128
kluss...@masslnc.org
Twitter:http://www.twitter.com/kmlussier


--
Kathy Lussier
Project Coordinator
Massachusetts Library Network Cooperative
(508) 343-0128
kluss...@masslnc.org
Twitter: http://www.twitter.com/kmlussier



Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Blake Henderson

Josh,

We have a custom made perl cron job to remove the protection. I didn't 
realize it was a bug! I would be happy to share the perl script (it is 
fairly custom to our needs but it can be adapted easily)


-Blake-
Conducting Magic
MOBIUS
573-234-4513
877-312-3517

On 12/15/2015 9:24 AM, Josh Stompro wrote:


Hello, does anyone else out there remove the age protection from 
copies after it has expired.  I’ve been asked to set that up, and it 
seems like a shame since it was designed to just work automatically, 
except that items with expired age protection still show up as age 
protected in the catalog.  There is a bug open about it at 
https://bugs.launchpad.net/evergreen/+bug/1251761


Does anyone currently go through and remove the age protection to get 
around that issue?  If so do you do it directly at the DB level or do 
you use the client?  Are there any gotchas about directly updating 
asset.copy to change the age protection and also changing the shelving 
location at the same time.


If anyone wants to combine resources to get that bug fixed, either 
with brain power or development funding let me know also.


Josh

Lake Agassiz Regional Library - Moorhead MN larl.org

Josh Stompro | Office 218.233.3757 EXT-139

LARL IT Director | Cell 218.790.2110





[OPEN-ILS-GENERAL] Removing Age Protection after expired

2015-12-15 Thread Josh Stompro
Hello, does anyone else out there remove the age protection from copies after 
it has expired.  I've been asked to set that up, and it seems like a shame 
since it was designed to just work automatically, except that items with 
expired age protection still show up as age protected in the catalog.  There is 
a bug open about it at https://bugs.launchpad.net/evergreen/+bug/1251761

Does anyone currently go through and remove the age protection to get around 
that issue?  If so do you do it directly at the DB level or do you use the 
client?  Are there any gotchas about directly updating asset.copy to change the 
age protection and also changing the shelving location at the same time.

If anyone wants to combine resources to get that bug fixed, either with brain 
power or development funding let me know also.
Josh

Lake Agassiz Regional Library - Moorhead MN larl.org
Josh Stompro | Office 218.233.3757 EXT-139
LARL IT Director | Cell 218.790.2110