Time |
S |
Nick |
Message |
00:00 |
|
mtj |
progressive means it ignores the *current* violations, but will bitch about new ones, only |
00:00 |
|
jcamins |
So, fix_marc21_auth_type_location. |
00:00 |
|
jcamins |
Where should it go in Koha::? |
00:00 |
|
rangi |
ahhh then that for C4/ |
00:00 |
|
rangi |
and all violations for Koha |
00:00 |
|
jcamins |
I'm creating Koha::Authority |
00:00 |
|
rangi |
what does it even do |
00:00 |
|
rangi |
remember ive spent my life trying not to learn about MARC |
00:01 |
|
rangi |
that and HTML |
00:01 |
|
jcamins |
Oh, I don't understand what it does. |
00:01 |
|
jcamins |
See my tirade earlier. |
00:01 |
|
rangi |
kill it with fire then? |
00:01 |
|
jcamins |
Well, it does something. |
00:01 |
|
jcamins |
Sorta. |
00:02 |
|
rangi |
id hate for copy and paste code to ever make its way into Koha:: |
00:02 |
|
rangi |
kinda defeats the point |
00:02 |
|
rangi |
so maybe kill it and make something that works and is understandable? |
00:03 |
|
jcamins |
Well, it's shim code to deal with the fact that we used to store authid in 152. |
00:03 |
|
jcamins |
With a big FIXME saying delet. |
00:03 |
|
jcamins |
*delete |
00:03 |
|
rangi |
right |
00:03 |
|
rangi |
how long since we put authid in 152 ? |
00:03 |
|
rangi |
maybe we can oput that in an script |
00:03 |
|
rangi |
and say if you are running 5 year old koha |
00:03 |
|
rangi |
run this |
00:03 |
|
rangi |
to fix it |
00:04 |
|
rangi |
when you upgrade |
00:04 |
|
rangi |
and leave it out for new stuff? |
00:04 |
|
|
Judit joined #koha |
00:04 |
|
* rangi |
is just thinking aloud |
00:04 |
|
jcamins |
2.x? |
00:04 |
|
rangi |
yeah, some kinda migration script and be done with it? |
00:05 |
|
rangi |
maybe in the 2.2 to 3.0 script? |
00:05 |
|
rangi |
misc/migration_tools/22_to_30/ |
00:05 |
|
rangi |
in there somewhere? |
00:05 |
|
* jcamins |
shudders. |
00:05 |
|
jcamins |
Nope. |
00:05 |
|
jcamins |
Oh, wait. |
00:06 |
|
jcamins |
I was looking in the wrong place. |
00:06 |
|
rangi |
ok, ducking out for lunch bbiab |
00:08 |
|
jcamins |
rangi: (for when you get back) did 2.2 have the marcflavour syspref? |
00:20 |
|
|
dcook joined #koha |
00:21 |
|
dcook |
Allo #koha |
00:23 |
|
|
melia left #koha |
00:39 |
|
jcamins |
My god. |
00:39 |
|
jcamins |
This code is just staggeringly horrifying. |
00:40 |
|
dcook |
Good thing you're sitting down? |
00:40 |
|
jcamins |
lol |
00:41 |
|
* jcamins |
has not had *nearly* enough to drink, sitting down or not. |
00:41 |
|
|
schnydszch joined #koha |
00:43 |
|
dcook |
lol |
00:43 |
|
dcook |
Is it Wednesday night there? |
00:43 |
|
dcook |
Not that I'm judging :p |
00:44 |
|
dcook |
P.S. What's the code? |
00:44 |
|
jcamins |
Authorities. |
00:44 |
|
wahanui |
i think authorities is easy |
00:44 |
|
jcamins |
wahanui: forget authorities |
00:44 |
|
wahanui |
jcamins: I forgot authorities |
00:46 |
|
dcook |
Judging from the interface alone, I can only imagine |
00:47 |
|
jcamins |
It's better than it was, but it depends on *EVERYTHING*. |
00:49 |
|
rangi |
jcamins: yep it supported unimarc and marc21 |
00:51 |
|
jcamins |
Good. That means I can use it to find out if it was MARC21. |
00:54 |
|
jcamins |
Okay, I need a new plan for this. |
00:55 |
|
|
Irma joined #koha |
01:00 |
|
|
Judit joined #koha |
01:03 |
|
|
BobB joined #koha |
01:15 |
|
pastebot |
"jcamins" at 127.0.0.1 pasted "ok 1 - use Koha::RecordProcess" (34 lines) at http://paste.koha-community.org/41 |
01:16 |
|
rangi |
nice! |
01:17 |
|
* jcamins |
bangs his head on the desk repeatedly. |
01:17 |
|
jcamins |
That *really* hurt. |
01:18 |
|
Judit |
do do it then :) |
01:19 |
|
jcamins |
Okay, C4::Debug, C4::Charset, and C4::Boolean are safe. |
01:19 |
|
jcamins |
And I'm not moving them. |
01:22 |
|
jcamins |
And I don't know how to test Koha::Authority. |
01:23 |
|
pastebot |
"jcamins" at 127.0.0.1 pasted "Koha/Authority.pm" (92 lines) at http://paste.koha-community.org/42 |
01:23 |
|
jcamins |
rangi: any suggestions are welcome. |
01:24 |
|
rangi |
well a use_ok will test compile thats not a bad start |
01:24 |
|
rangi |
then i guess you manufacture a Marc::Record object |
01:24 |
|
jcamins |
Actually, I guess I know how to test new. |
01:24 |
|
rangi |
can call new with it? |
01:24 |
|
jcamins |
I don't know how to test get_from_authid. |
01:25 |
|
jcamins |
(oh, want to know why I was suffering so much? Class::Accessor apparently defines ->get) |
01:25 |
|
rangi |
you can do $context->set_preference |
01:25 |
|
rangi |
to change marcflavours |
01:26 |
|
jcamins |
Yeah, how do I test actually retrieving authorities from the database? |
01:26 |
|
jcamins |
*but |
01:26 |
|
rangi |
you might have to add some sample auths |
01:26 |
|
rangi |
to the sample data |
01:26 |
|
rangi |
then test against known values |
01:27 |
|
rangi |
the koha newsletter, make some authority records for that |
01:27 |
|
rangi |
:) |
01:27 |
|
jcamins |
Yeah, that's what I feared. |
01:27 |
|
rangi |
or you can fudge a db connection |
01:27 |
|
rangi |
since we arent testing Context |
01:27 |
|
rangi |
it doesnt need to be a real db in the back |
01:28 |
|
rangi |
you can make a dbh object |
01:28 |
|
jcamins |
I'll show you what I did for my other test. |
01:28 |
|
rangi |
that hits sqlite or whatever you want ;) |
01:28 |
|
pastebot |
"jcamins" at 127.0.0.1 pasted "t/RecordProcessor_EmbedSeeFromHeadings.t" (50 lines) at http://paste.koha-community.org/43 |
01:29 |
|
jcamins |
Oh-ho! |
01:29 |
|
jcamins |
Clever! |
01:29 |
|
jcamins |
Just mock the C4::Context->dbh call. |
01:29 |
|
jcamins |
I like it. |
01:30 |
|
jcamins |
Something DBD::AnyData? |
01:31 |
|
rangi |
yeah |
01:31 |
|
rangi |
something that doenst require installing a daemon or anything anything that pretend to be a db |
01:31 |
|
rangi |
DBD::Mock |
01:32 |
|
jcamins |
Ah, perfect. |
01:32 |
|
rangi |
maybe i havent read all the man yet :) |
01:33 |
|
rangi |
http://www.perl.com/pub/2005/0[…]test_mockdbi.html |
01:33 |
|
jcamins |
You specify SQL and the result you want. |
01:33 |
|
jcamins |
Easy as pie. |
01:33 |
|
rangi |
sweet :) |
01:33 |
|
rangi |
yay |
01:33 |
|
rangi |
this will make lots of tests be able to be moved out of db_dependent |
01:33 |
|
rangi |
i mean we arent testing the sql in this case |
01:34 |
|
rangi |
but for a lot of cases that's ok |
01:35 |
|
jcamins |
Right, what I want to test is that the end result is an actual object with a record where the record goes, etc. |
01:35 |
|
rangi |
yep |
01:35 |
|
* dcook |
wonders if there is already a slim function for retrieving item URIs... |
01:35 |
|
rangi |
exactly |
01:43 |
|
jcamins |
You know what? |
01:44 |
|
jcamins |
For right now I'm making it db_dependent, and just retrieving the first authority. |
01:44 |
|
rangi |
heh |
01:44 |
|
rangi |
make sure you handle no authorities too |
01:45 |
|
rangi |
so that the test bails nicely if it cant find any |
01:45 |
|
rangi |
i forget how you do that, but i know ive seen it |
01:46 |
|
jcamins |
SKIP |
01:46 |
|
rangi |
thats it |
01:47 |
|
jcamins |
How do I get a single value from a sth? |
01:48 |
|
jcamins |
fetch_something? |
01:48 |
|
rangi |
fetchrow_hashref |
01:48 |
|
jcamins |
Hm, but that's a hashref. |
01:49 |
|
rangi |
anything else isn't db safe |
01:49 |
|
rangi |
some databases (not mysql) dont hand things back in the same order |
01:49 |
|
rangi |
but for our purposes you could assume the database is sane |
01:50 |
|
jcamins |
Oh, good point. |
01:50 |
|
jcamins |
Later I'll need more than one column. |
01:50 |
|
jcamins |
Never mind. |
01:51 |
|
jcamins |
Actually, what exactly do I *do* with the authority object to make sure it works? |
01:51 |
|
rangi |
hehe |
01:52 |
|
rangi |
thats why you kinda need a known value |
01:52 |
|
jcamins |
Yeah, well, that's not happening right now. |
01:52 |
|
jcamins |
Ooh, got it! |
01:52 |
|
jcamins |
authid is constant. |
01:52 |
|
rangi |
cos then you can do is($authority->heading,'fish'); |
01:52 |
|
rangi |
or whatever |
01:52 |
|
wahanui |
whatever is most appropriate for the situation. |
01:52 |
|
jcamins |
Or should be. |
01:52 |
|
jcamins |
wahanui: true. |
01:52 |
|
wahanui |
i guess true. is it possible to have automatic recurring invoices for each patron? |
01:52 |
|
* jcamins |
blinks. |
01:53 |
|
|
Judit joined #koha |
01:54 |
|
|
BobB_ joined #koha |
01:57 |
|
|
BobB_ joined #koha |
02:01 |
|
pastebot |
"jcamins" at 127.0.0.1 pasted "Soon I'll go to sleep and you won't have to look at search results" (37 lines) at http://paste.koha-community.org/44 |
02:01 |
|
rangi |
sweet |
02:01 |
|
rangi |
missing one if is all :) |
02:03 |
|
jcamins |
Ooh, and I know which it is, too. |
02:03 |
|
jcamins |
It's the if checking for an invalid record. |
02:07 |
|
jcamins |
And the marcflavour. |
02:07 |
|
jcamins |
Well, changing that will require mocking the entire thing, so we're not going to do that. |
02:07 |
|
rangi |
set_preference is handy for that |
02:07 |
|
rangi |
changing the flavour anyway |
02:08 |
|
jcamins |
Yeah, but without mocking the database to provide both UNIMARC and MARC21 records, it wouldn't help. |
02:08 |
|
rangi |
yep |
02:23 |
|
* dcook |
<3 the Koha jQuery library |
02:23 |
|
rangi |
its even cooler with 3.10 .. because of the reports being available as JSON |
02:24 |
|
rangi |
and ones you mark public available on the opac |
02:24 |
|
rangi |
so you can do cool stuff with jquery and results of reports |
02:24 |
|
rangi |
list of new books, no sweat |
02:25 |
|
dcook |
O_O |
02:25 |
|
rangi |
pie chart showing breakdown of your catalogue |
02:25 |
|
rangi |
no sweat |
02:26 |
|
dcook |
I wish I knew more about JSON. I've read a little bit, but nothing substantive. Any recommendations for good resources? |
02:26 |
|
dcook |
Or maybe I should just wait until 3.10 and learn by mucking about |
02:26 |
|
rangi |
thats how i learnt |
02:26 |
|
rangi |
you can muck about with master now :) |
02:27 |
|
dcook |
:D |
02:27 |
|
rangi |
jplot is fun |
02:27 |
|
rangi |
jquery makes json easy |
02:27 |
|
rangi |
you getjson |
02:28 |
|
rangi |
and pass it to a fucntion |
02:28 |
|
rangi |
eg |
02:28 |
|
rangi |
$.getJSON('http://jenkins.koha-community.[…]api/json?jsonp='+"?&callback=?", |
02:28 |
|
rangi |
function(data){ |
02:28 |
|
rangi |
data is now a nice datastructure |
02:29 |
|
rangi |
so i can do data.jobs |
02:29 |
|
rangi |
http://jenkins.koha-community.org/api/json |
02:29 |
|
rangi |
thats what the json looks like |
02:29 |
|
rangi |
or more readable |
02:30 |
|
rangi |
http://jenkins.koha-community.[…]/json?pretty=true |
02:30 |
|
rangi |
so data.jobs gets me an array |
02:30 |
|
rangi |
that make sense? |
02:30 |
|
rangi |
then i can do this |
02:30 |
|
rangi |
for(var i=0;i<jobs.length;i++){ var name = jobs[i].name; var colour = jobs[i].color; |
02:31 |
|
rangi |
cool eh |
02:31 |
|
dcook |
I'm certainly of agreement |
02:32 |
|
dcook |
So which reports will be available as JSON? |
02:32 |
|
rangi |
so for koha |
02:32 |
|
rangi |
any of them |
02:32 |
|
rangi |
in the staff interface |
02:32 |
|
dcook |
Including the saved ones? |
02:32 |
|
rangi |
any of them you mark as public in the opac |
02:32 |
|
rangi |
only the saved ones, you make one |
02:32 |
|
rangi |
then you call it with the id |
02:32 |
|
rangi |
eg |
02:33 |
|
rangi |
koha/cgi-bin/koha/svc/report?id=2 |
02:33 |
|
rangi |
or ?name=myreport |
02:33 |
|
rangi |
either works |
02:34 |
|
rangi |
you can even tell koha to cache it |
02:34 |
|
rangi |
and it will cache it in whatever caching engine you have enabled |
02:34 |
|
rangi |
so it doesnt hit the db each time |
02:35 |
|
dcook |
Nice. I was just thinking that it might be problematic if people are trying to call big reports with each page load |
02:35 |
|
dcook |
So the cache command is just included in the JS? |
02:35 |
|
rangi |
nope you set the cache time when saving the report |
02:36 |
|
jcamins |
Okay, bed time. |
02:36 |
|
jcamins |
Good night. |
02:36 |
|
rangi |
the perl code that fetches it, gets it from the cache if its in there and not expired |
02:36 |
|
dcook |
Night, jcamins |
02:36 |
|
rangi |
or runs the report, and caches the results and hands it back to you |
02:36 |
|
dcook |
Nice |
02:36 |
|
rangi |
svc/report and opac/svc/report do that |
02:36 |
|
rangi |
we built it for the last catalyst academy |
02:37 |
|
rangi |
so that the students could play with json/jquery |
02:37 |
|
rangi |
they did some neat things |
02:37 |
|
rangi |
but yeah for a list of new titles, or a drop down of item types or whatever you wanted to do on the opac, you could write the report to fetch the data and jquery to display it |
02:38 |
|
dcook |
Very very cool |
02:39 |
|
dcook |
Alternatively, you could do the same on the staff side, yes? |
02:39 |
|
rangi |
yes |
02:39 |
|
rangi |
and more |
02:39 |
|
rangi |
like the last hours circ stats |
02:39 |
|
rangi |
percentage of the collection currently onloan as a graph |
02:39 |
|
rangi |
whatever :) |
02:40 |
|
dcook |
:D |
02:40 |
|
dcook |
This is exactly what I've been wanting for a few months now |
02:41 |
|
dcook |
I've kept thinking that the reports are so powerful, but that there display has been so limited |
02:41 |
|
dcook |
This also really helps savvy users/clients to get more out of their data |
02:41 |
|
dcook |
Koha = awesome |
02:41 |
|
rangi |
bug 7249 |
02:41 |
|
wahanui |
well, bug 7249 is particularly cool. |
02:41 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7249 enhancement, P3, ---, gmcharlt, Pushed to Master , Report webservices |
02:41 |
|
dcook |
Koha developers = even more awesome |
02:41 |
|
rangi |
and bug 8256 |
02:41 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8256 enhancement, P5 - low, ---, jcamins, Pushed to Master , Reports webservice should allow selection by name |
02:42 |
|
rangi |
dcook: and with the jquery and sql libraries |
02:42 |
|
rangi |
even users not that savvy |
02:42 |
|
rangi |
can cut and paste |
02:43 |
|
dcook |
Mmm very true |
02:43 |
|
rangi |
so lets the savvy users help other users too |
02:43 |
|
dcook |
That's what I'm doing with the jQuery library |
02:43 |
|
rangi |
:) |
02:43 |
|
rangi |
yep |
02:43 |
|
dcook |
I was able to nix a local change, because of... |
02:43 |
|
rangi |
yeah |
02:43 |
|
dcook |
Galen's jQuery snippet |
02:44 |
|
dcook |
I wish that I would've come on here a month ago, so that I could've saved myself some work :/ |
02:44 |
|
rangi |
hindsight is 20/20 :) |
02:44 |
|
rangi |
how much longer do you have in aussie? |
02:44 |
|
rangi |
indefinite? |
02:45 |
|
dcook |
Alas, not yet |
02:45 |
|
dcook |
I'm flying back to Vancouver on August 15th |
02:45 |
|
rangi |
ahhh |
02:45 |
|
dcook |
But I'm coming back to Oz in January for a minimum of 3.5 years |
02:45 |
|
rangi |
sweet! |
02:45 |
|
dcook |
Yeah! |
02:45 |
|
rangi |
oh |
02:45 |
|
dcook |
It's just a temporary visa for now, but I'm hoping that I'll qualify for a permanent one after 2 years |
02:45 |
|
rangi |
when is the eg conf in vancouver |
02:46 |
|
rangi |
ahh april |
02:46 |
|
dcook |
Eg conf? |
02:46 |
|
rangi |
evergreen |
02:46 |
|
wahanui |
evergreen is up to Update 11. |
02:46 |
|
dcook |
Ahh |
02:47 |
|
rangi |
access is in montreal this year tho, in october |
02:47 |
|
dcook |
Really? I was hoping that was more than a rumour |
02:47 |
|
rangi |
if you are gonna be in canada would be foolish to miss it :) |
02:47 |
|
rangi |
http://accessconference.ca/ |
02:48 |
|
dcook |
I wonder how bad it will be with my courseload.. |
02:48 |
|
dcook |
But I have an old friend in Montreal that I've been dying to see and as you say...I'd be foolish to miss it :p |
02:51 |
|
rangi |
:) |
02:51 |
|
rangi |
there are a couple of Koha companies there too |
02:51 |
|
rangi |
inlibro |
02:52 |
|
rangi |
and Libéo |
02:53 |
|
dcook |
Cool. I'll have to check them out when I have a moment |
02:53 |
|
dcook |
Planning on coming out again this year? |
02:54 |
|
rangi |
unfortunately no |
02:54 |
|
rangi |
edinburgh flushed the travel budget |
02:54 |
|
dcook |
Ahh, fair enough |
02:54 |
|
dcook |
I'm still a bit mad that I didn't find out about KohaCon2012 until it was in progress |
02:55 |
|
dcook |
Both for the missed opportunity to see/meet you all |
02:55 |
|
dcook |
...and I love Edinburgh |
02:55 |
|
dcook |
:p |
02:55 |
|
rangi |
reno next year :) |
02:55 |
|
rangi |
you can participate in my session (if it gets picked that is ) |
02:55 |
|
rangi |
where you have to beat me in blackjack to ask a question |
02:56 |
|
dcook |
lol |
02:56 |
|
dcook |
Yeah, I just saw that it was reno this morning |
02:57 |
|
dcook |
I've never been to Nevada |
02:57 |
|
rangi |
ive been to Las Vegas |
02:57 |
|
* dcook |
is rather terrible at blackjack |
02:57 |
|
rangi |
for my honeymoon, we drove route 1 from seattle down |
02:57 |
|
rangi |
and then cut across to las vegas for a weekend |
02:57 |
|
rangi |
im bad at it too |
02:58 |
|
rangi |
but i figure a hand is fast ;) |
02:58 |
|
dcook |
Very true. It's a great idea |
02:58 |
|
dcook |
How long was the trip between Seattle and Las Vegas? |
02:59 |
|
rangi |
we took our time, stopped and stayed at lots of places along the way |
02:59 |
|
rangi |
went to yosemite |
02:59 |
|
rangi |
saw the redwoods etc |
02:59 |
|
rangi |
i think 7 or 8 days |
02:59 |
|
dcook |
Sounds like a good trip :) |
03:00 |
|
rangi |
http://photos.bigballofwax.co.[…]hp?g2_itemId=1233 |
03:00 |
|
dcook |
Admittedly, I've been missing the west coast a bit recently |
03:00 |
|
rangi |
its a beautiful drive (for the most part) |
03:00 |
|
rangi |
especially the oregon coast |
03:00 |
|
|
libsysguy joined #koha |
03:01 |
|
dcook |
I bet. I haven't been down that way yet myself, but I'm thinking a trip to Portland might be in order in September or October |
03:01 |
|
dcook |
I have a friend who loves his craft beers |
03:01 |
|
rangi |
oh |
03:01 |
|
rangi |
thats the place to go |
03:01 |
|
rangi |
say, did you get to the beer thingy we did in the hotel at access? |
03:02 |
|
rangi |
http://photos.bigballofwax.co.[…]hp?g2_itemId=1527 <-- one of hte highlights of the trip |
03:02 |
|
dcook |
Unfortunately, when I wasn't at Access, I was at the uni, as that was a pretty busy assignment time :/ |
03:02 |
|
rangi |
back before you could cheat with a smartphone :) |
03:03 |
|
rangi |
ahh you missed the pale ales i brought over then |
03:03 |
|
rangi |
http://photos.bigballofwax.co.[…]hp?g2_itemId=1611 <-- lol i forgot about this |
03:03 |
|
dcook |
I did indeed :( |
03:04 |
|
dcook |
lol |
03:04 |
|
dcook |
Maybe he wasn't camping |
03:04 |
|
rangi |
could be, hiding out in the woods :) |
03:04 |
|
dcook |
Cheaper than a mortgage :P |
03:05 |
|
rangi |
you could totally do that in victoria park |
03:05 |
|
rangi |
i got lost in there |
03:06 |
|
dcook |
That's in California? |
03:06 |
|
dcook |
Yet another place that I have yet to see.. |
03:06 |
|
rangi |
that photo? yeah that was near Lodi |
03:06 |
|
rangi |
mind you i got lost in stanley park |
03:06 |
|
rangi |
i get lost everywhere |
03:06 |
|
rangi |
:) |
03:07 |
|
dcook |
lol |
03:08 |
|
dcook |
Fair enough |
03:08 |
|
dcook |
I don't know if I've been lost in Stanley Park, but I sure didn't end up where I wanted to go |
03:08 |
|
dcook |
Do you have to know where you are in the beginning in order to get lost? :p |
03:08 |
|
rangi |
yeah i think that was my problem too :) |
03:08 |
|
dcook |
It's beautiful though |
03:08 |
|
rangi |
i spent the whole day walking there |
03:09 |
|
rangi |
it was great |
03:09 |
|
rangi |
i saw maybe 5 other people |
03:09 |
|
rangi |
in the heart of a big city |
03:09 |
|
rangi |
was excellent |
03:09 |
|
* dcook |
nods |
03:09 |
|
dcook |
I love it there |
03:10 |
|
dcook |
NSW has some great parks, but none of them are smack dab in the city |
03:10 |
|
rangi |
yeah |
03:10 |
|
dcook |
Pacific Spirit Park is another good one in Vancouver |
03:10 |
|
rangi |
oh, didnt make it there |
03:10 |
|
dcook |
It's over by the university |
03:10 |
|
rangi |
tara took us to hmm whats the island called fraser ? |
03:11 |
|
dcook |
Hmm, maybe? |
03:11 |
|
rangi |
really arty, with cool markets |
03:11 |
|
dcook |
I'm not too familiar with the islands |
03:11 |
|
dcook |
Granville? |
03:11 |
|
rangi |
thats it |
03:11 |
|
rangi |
simon fraser is a uni |
03:11 |
|
dcook |
Yep, out in Burnaby, I think |
03:11 |
|
* rangi |
gets them all mixed up :) |
03:12 |
|
dcook |
Can't blame you :p |
03:12 |
|
dcook |
How big is Wellington? I figure sooner or later I'll make my way over |
03:12 |
|
rangi |
hmm not big, if you count greater wellington i think we are around 400k |
03:13 |
|
dcook |
Still bigger than the city I grew up in ;) |
03:13 |
|
rangi |
500 apparently |
03:13 |
|
dcook |
That's a pretty decent size |
03:13 |
|
rangi |
and 200k in wellington itself |
03:13 |
|
rangi |
http://www.wellington.govt.nz/[…]glance/index.html |
03:13 |
|
rangi |
come in february :) |
03:15 |
|
dcook |
I was thinking that this trip in July/August probably isn't going to happen, so I'm thinking that a trip over in February sounds pretty good :) |
03:16 |
|
rangi |
we have LIANZA in september and a bunch of stuff to do before then (thats hte big nz library conference) so yeah i think might just run out of time |
03:17 |
|
dcook |
Fair enough. Timing just doesn't seem to be there this time |
04:48 |
|
|
druthb joined #koha |
05:08 |
|
|
Irma1 joined #koha |
05:14 |
|
|
mtompset joined #koha |
05:15 |
|
mtompset |
Greetings, #koha. |
05:17 |
|
|
BobB joined #koha |
05:19 |
|
|
Amit_Gupta joined #koha |
05:46 |
|
mtj |
well, i'm looking at a weird bug on a 3.6.4 koha.... |
05:46 |
|
mtj |
a 'Patron has had overdue items and is blocked for 586 day(s).' message on an item checkout |
05:46 |
|
mtj |
... and the patron has no items out :/ |
05:52 |
|
mtj |
hmm, looks like the 'borrowers.debarred is not a date' bug |
05:54 |
|
mtj |
$DBversion = "3.07.00.001"; |
05:54 |
|
mtj |
print "Upgrade done (Change borrowers.debarred into Date )\n"; |
06:02 |
|
|
logbot joined #koha |
06:02 |
|
|
Topic for #koha is now Koha 3.8.2, 3.6.6 and 3.4.8 Now Available | Koha Community Website - http://www.koha-community.org/ | General IRC meeting, 18 July 2012 at 10:00 UTC+0 |
06:05 |
|
alex_a |
bonjour #koha |
06:13 |
|
|
mbalmer joined #koha |
06:40 |
|
|
reiveune joined #koha |
06:40 |
|
reiveune |
hello |
06:41 |
|
mbalmer |
bonjour, marseill! |
06:41 |
|
mbalmer |
… marseille ... |
06:49 |
|
matts |
^^ hello mbalmer ! |
07:03 |
|
|
julian_m joined #koha |
07:03 |
|
|
eythian joined #koha |
07:03 |
|
julian_m |
hello |
07:06 |
|
|
Judit joined #koha |
07:06 |
|
|
Judit left #koha |
07:07 |
|
|
laurence joined #koha |
07:10 |
|
|
raj08 joined #koha |
07:11 |
|
raj08 |
hi any user there? |
07:12 |
|
raj08 |
?? |
07:13 |
|
|
asaurat joined #koha |
07:14 |
|
raj08 |
any body there? |
07:15 |
|
rangi |
yes |
07:15 |
|
raj08 |
r u user? |
07:16 |
|
rangi |
user of koha? |
07:16 |
|
raj08 |
yes |
07:16 |
|
rangi |
sometimes yes |
07:17 |
|
raj08 |
can u help me oprate of koha? |
07:17 |
|
rangi |
have you read the manual and watched the tutorial videos? |
07:17 |
|
|
gaetan_B joined #koha |
07:18 |
|
raj08 |
i Do:t have Video |
07:19 |
|
raj08 |
?? |
07:19 |
|
mtj |
raj08: the videos are on youtube... |
07:20 |
|
eythian |
http://ubuntuone.com/002KKAFcFghdc3urB26Fxl <-- picture of Marseille I took |
07:20 |
|
rangi |
http://bywatersolutions.com/se[…]/tutorial-videos/ and there |
07:21 |
|
rangi |
eythian: from up on the hill by the big churchy thingy? |
07:22 |
|
rangi |
Notre Dame de la Garde ? |
07:23 |
|
rangi |
http://photos.bigballofwax.co.[…]arseille/DSC02185 <-- it was more hazy when i was there |
07:24 |
|
eythian |
rangi: yep |
07:24 |
|
eythian |
yeah, I think I'm having better weather than that :) |
07:25 |
|
rangi |
:) |
07:25 |
|
|
cait joined #koha |
07:26 |
|
rangi |
morning cait |
07:26 |
|
eythian |
hi cait |
07:26 |
|
|
laurence joined #koha |
07:27 |
|
cait |
hi eythian and rangi :) |
07:32 |
|
|
eythian_ joined #koha |
07:35 |
|
cait |
wb eythian? :) |
07:36 |
|
mtj |
hi #koha |
07:38 |
|
mtj |
cait: i have a Q for you? |
07:39 |
|
cait |
sure |
07:39 |
|
cait |
not sure I have an answer for you tho :) |
07:39 |
|
mtj |
in Members::IsMemberBlocked, whats a 'fines days'? |
07:40 |
|
cait |
that you hae to ask a french person :) |
07:40 |
|
mtj |
http://git.koha-community.org/[…]f9e3;hb=HEAD#l609 |
07:40 |
|
cait |
the idea is that you debar patrons instead of charging fines |
07:40 |
|
cait |
for a certain amount of days that is calculated somehow |
07:41 |
|
mtj |
ahh, ok |
07:41 |
|
rangi |
mtj: you'll want to talk to biblibre people about that |
07:41 |
|
mtj |
bah, and that sub is waay different in master, than in 3.6.4 :/ |
07:41 |
|
mtj |
ive got a crazy bug in my 3.6.4 , and that sub is causing it |
07:42 |
|
rangi |
have to tried 3.6.6 ? |
07:42 |
|
mtj |
yes |
07:42 |
|
rangi |
or latest 3.6.x .. is it fixed? |
07:42 |
|
mtj |
not in 3.6.x, afaik |
07:43 |
|
cait |
mtj: make your your issuingrules don't have values for that |
07:43 |
|
cait |
I mean really no values |
07:43 |
|
cait |
null |
07:45 |
|
mtj |
ok - in smart-rules.pl ? |
07:45 |
|
rangi |
no in the db |
07:47 |
|
mtj |
ok, thanks for the tip! |
07:48 |
|
eythian |
http://lwn.net/Articles/507110/ <-- speaking of hyper-v (well, we were yesterday) |
07:56 |
|
mtj |
ok, so stupid question number-1.. where do i enable/disable fine-days? |
07:57 |
|
mtj |
coz, this patron is blocked until '2014-02-25' ;) |
07:57 |
|
mtj |
ah, i think i got it -> 'Suspension in Days (day)' |
08:01 |
|
mtj |
w00t - fixed :) |
08:01 |
|
mtj |
cait++ rangi++ |
08:02 |
|
mtj |
but damn, that feature looks buggy :/ |
08:02 |
|
rangi |
it was supposed to be working in 3.6.x the thought was that hourly loans introduced the bugs |
08:03 |
|
mtj |
my koha was calc-ing an issuerule with '28' days suspension, into 586 days?! |
08:04 |
|
rangi |
how many days overdue was it? |
08:05 |
|
rangi |
21 ? |
08:06 |
|
mtj |
hmm, not sure about 'it' - there are 30 old_issues items for this patron |
08:06 |
|
mtj |
and 15-ish look to be overdue |
08:07 |
|
mtj |
does the finesday code, add *all* overdues together? surely not |
08:07 |
|
rangi |
maybe it does |
08:07 |
|
rangi |
it would do that with money |
08:07 |
|
rangi |
why not days |
08:07 |
|
mtj |
heh, yeah ... ok :) |
08:08 |
|
rangi |
if you get banned for 1 day per book, it would be wrong to be able to take out 20 and still only get 1 day banned |
08:27 |
|
mtj |
so, 30 books in old_issues table - each book 1 day overdue... |
08:27 |
|
rangi |
yeah thats probably how it happened |
08:28 |
|
mtj |
if 'suspension_days' = 28, is that (30 books * 28 days = 840 days) ? |
08:29 |
|
mtj |
yeah, i think thats the situation for my koha |
08:30 |
|
rangi |
yup |
08:31 |
|
mtj |
thanks for the help - i'm not sure that i would have clicked to this, by myself |
08:31 |
|
rangi |
no worries |
08:34 |
|
mtj |
oh nice, looks like the evergreen-ils people are doing a tweetbot for their #irc channel, too |
08:36 |
|
drojf |
good morning #koha |
08:37 |
|
rangi |
ah yep bshum was asking about that |
08:37 |
|
rangi |
hi drojf |
08:37 |
|
mtj |
(i might have to remind them about the google/spam issues) |
08:39 |
|
mtj |
but hey, after the [off] fix... no spam since that day ;) |
08:39 |
|
rangi |
yep |
08:40 |
|
mtj |
bigpresh++ -> http://search.cpan.org/~bigpre[…]e/TwitterWatch.pm |
08:41 |
|
mtj |
i owe that guy a few beers for helping me with my dancer beer.app :) |
08:56 |
|
|
eythian joined #koha |
08:57 |
|
|
reiveune joined #koha |
08:59 |
|
|
asaurat joined #koha |
09:05 |
|
|
alex_a joined #koha |
09:23 |
|
|
chris_n` joined #koha |
10:31 |
|
|
gaetan_B1 joined #koha |
10:51 |
|
mtj |
oh, nice -> http://code.ohloh.net/project?pid=&ipid=298154 |
10:51 |
|
mtj |
new koha git-repo browser, in ohloh |
10:52 |
|
eythian |
that must be a very old revision |
10:53 |
|
jcamins |
Thank goodness they have the kumara repo. :P |
10:54 |
|
rangi |
you can change the repo in the dropdown, and yep its good to have the whole history of the project |
10:55 |
|
jcamins |
Isn't it a bit late? |
10:56 |
|
jcamins |
(in NZ) |
10:56 |
|
rangi |
only 11 |
10:58 |
|
rangi |
good old Cdk |
10:58 |
|
jcamins |
Cdk? |
11:02 |
|
rangi |
curses development kit |
11:02 |
|
rangi |
how circulation worked in kumara |
11:02 |
|
jcamins |
Ah. |
11:25 |
|
|
jwagner joined #koha |
11:25 |
|
|
julian_m joined #koha |
11:30 |
|
|
cait joined #koha |
11:44 |
|
|
nengard joined #koha |
11:47 |
|
|
McCloud joined #koha |
12:29 |
|
dpavlin |
quick question: Does printing pdf labels work for anyone in current master code? |
12:29 |
|
dpavlin |
It seems to me that we have "wide character" errors from PDF::Reuse, and I'm stuck... |
12:30 |
|
dpavlin |
I *could* fix it in PDF::Reuse, but this is not optimal. |
12:30 |
|
|
gaetan_B joined #koha |
12:31 |
|
jcamins |
dpavlin: Latin1-only labels might work. I'm not sure. |
12:31 |
|
jcamins |
Certainly it is a known issue that the PDF export doesn't handle Unicode. |
12:34 |
|
dpavlin |
jcamins: Bug 8375 is surposed to fix something, and it's on the right track, but not sufficiant to make utf-8 work. |
12:34 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8375 normal, P5 - low, ---, matted-34813, Pushed to Stable , Common diacritics not shown correctly when exporting batch label to PDF |
12:34 |
|
jcamins |
Yeah, I understand it's really complicated. |
12:35 |
|
dpavlin |
It's really PDF::Reuse fault -- it's doing binmode on file handle, so we have to decode all utf-8 characters into bytes before passing it in. |
12:37 |
|
|
asaurat joined #koha |
12:37 |
|
|
libsysguy joined #koha |
12:42 |
|
|
laurence joined #koha |
12:43 |
|
|
tcohen joined #koha |
12:50 |
|
|
Oak joined #koha |
12:50 |
|
* Oak |
waves |
12:50 |
|
Oak |
@seen cait |
12:50 |
|
huginn |
Oak: cait was last seen in #koha 5 hours, 7 minutes, and 33 seconds ago: <cait> null |
12:51 |
|
jcamins |
Null? |
12:51 |
|
wahanui |
well, Null is correct I think. |
12:51 |
|
Oak |
yup |
13:01 |
|
|
ago43 joined #koha |
13:04 |
|
|
gaetan_B joined #koha |
13:14 |
|
|
cait joined #koha |
13:31 |
|
|
drojf joined #koha |
13:35 |
|
nengard |
lots of patches on bug 6716 need sign off :) and they're easy to test ? hint hint hint :) |
13:35 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6716 enhancement, P3, ---, nengard, Needs Signoff , Database Documentation |
13:43 |
|
|
mtompset joined #koha |
13:43 |
|
mtompset |
Someone should update the topic to point to the new meeting time. :) |
13:45 |
|
mtompset |
Greetings, #koha. |
13:59 |
|
* mtompset |
waves bye. |
14:21 |
|
|
clrh joined #koha |
14:34 |
|
|
trea joined #koha |
14:52 |
|
|
laurence left #koha |
14:58 |
|
|
cait joined #koha |
15:00 |
|
|
edveal joined #koha |
15:05 |
|
tcohen |
hi #koha |
15:11 |
|
|
gaetan_B joined #koha |
15:16 |
|
|
julian_m joined #koha |
15:18 |
|
|
alex_a left #koha |
15:23 |
|
|
Koha3-06-Help joined #koha |
15:26 |
|
Koha3-06-Help |
Hello. We did a Koha 22 to 3.06 upgrade. Everything worked great. We have one outstanding issue still. In the OPAC if you search for a title from all libraries the search works fine. However when you try and restrict to a single branch it returns no results. Now if you search across all libraries to get results then click on one of the <continued> |
15:27 |
|
Koha3-06-Help |
branches to get no results the URL ends in "limit-branch:<branchcode>" if you manually change the ending to "limit-holdingbranch:<branchcode>" the page returns results. Is there a way of changing the perl search file to have the url return "holdingbranch:" instead of "branch:"? |
15:28 |
|
|
glawson_ joined #koha |
15:29 |
|
eythian |
Koha3-06-Help: yes, you could probably modify the template to do that |
15:29 |
|
eythian |
Koha3-06-Help: however, it might be worth seeing if there's a bug about that, or determining if it's just a weird feature of your data. |
15:29 |
|
wizzyrea |
I don't see a bug for that particular problem though |
15:29 |
|
eythian |
if it's your data, it might be something you can fix. |
15:29 |
|
wizzyrea |
right, i'm thinking |
15:30 |
|
wizzyrea |
you may have populated the homebranch |
15:30 |
|
wizzyrea |
but not the holding branch |
15:30 |
|
libsysguy |
^^ |
15:30 |
|
wizzyrea |
or the other way around |
15:30 |
|
wahanui |
the other way around is more readable as far as the intent of the clause |
15:30 |
|
wizzyrea |
forgeth the other way around |
15:30 |
|
|
asaurat left #koha |
15:30 |
|
wizzyrea |
forget the other way around |
15:30 |
|
wahanui |
wizzyrea: I forgot other way around |
15:30 |
|
Koha3-06-Help |
HoldingBranch and Homebranch in the items table are populated and the same. |
15:30 |
|
libsysguy |
wizzyrea I thought we were going to get wahanui to do a logic puzzle |
15:31 |
|
* wizzyrea |
giggles |
15:31 |
|
libsysguy |
Koha3-06-Help have you tried reindexing from the xml? |
15:32 |
|
* libsysguy |
can't remember if you re-index after an upgrade |
15:32 |
|
libsysguy |
typically if there is a search problem in the opac its something to do with the indexes rather than the database |
15:32 |
|
Koha3-06-Help |
I went ahead and created a Branch column in my items table set it equal to Holdingbranch. Setup the relation and created an index on that column. Still the same results |
15:32 |
|
eythian |
libsysguy: I reindex whenever I look at something funny |
15:33 |
|
eythian |
Koha3-06-Help: just creating tables won't really help |
15:33 |
|
|
trea1 joined #koha |
15:33 |
|
libsysguy |
yeah in fact that is a really bad idea Koha3-06-Help |
15:33 |
|
wizzyrea |
there was a bug back in 3.2 that was kind of like that |
15:33 |
|
Koha3-06-Help |
I have reran the zebraindex.pl file. I guess I am not totally certain what you mean by index from the xml file. |
15:33 |
|
libsysguy |
two things that are ill-advised…manually modifying koha code and manually modifying the schema |
15:34 |
|
libsysguy |
Koha3-06-Help ./rebuild_zebra.pl -v -x -r -b |
15:35 |
|
libsysguy |
that will rebuild the indexes for bibs from xml |
15:35 |
|
Koha3-06-Help |
Just run that or should I change something before that? |
15:36 |
|
libsysguy |
you can just run that |
15:36 |
|
wizzyrea |
not sure what you'd change |
15:36 |
|
libsysguy |
what kind of install do you have? |
15:36 |
|
Koha3-06-Help |
Ubuntu 1- |
15:36 |
|
|
eythian joined #koha |
15:37 |
|
Koha3-06-Help |
err, 10 |
15:37 |
|
libsysguy |
Koha3-06-Help: i mean is it a git install, package, tarball? |
15:37 |
|
Koha3-06-Help |
package tarball |
15:38 |
|
libsysguy |
so im assuming you chose production install when you installed from the tarball? |
15:38 |
|
Koha3-06-Help |
Correct |
15:40 |
|
jcamins |
eythian++ |
15:41 |
|
libsysguy |
oh actually you can probably run the script from inside the unzipped tar |
15:41 |
|
libsysguy |
i've gotta run but reindex and see if that helps |
15:42 |
|
jcamins |
Koha3-06-Help: you have to use Zebra starting with 3.4. |
15:43 |
|
jcamins |
Koha3-06-Help: you should remove the branch column or else you will run into problems. |
15:43 |
|
jcamins |
*may run into problems. |
15:43 |
|
jcamins |
Koha3-06-Help: do you have anything in items.homebranch? |
15:43 |
|
Koha3-06-Help |
I removed the branch column. That is what I was doing. rebuild zebra running now |
15:44 |
|
wizzyrea |
jcamins: he says home and holding match |
15:44 |
|
jcamins |
wizzyrea: oh, thanks. |
15:44 |
|
jcamins |
Koha3-06-Help: you ran the script to remove items from biblioitems? |
15:44 |
|
Koha3-06-Help |
Yes HomeBranch and Holdbranch are population |
15:44 |
|
jcamins |
And, perhaps most importantly of all, you set NoZebra to "Use" and configured Zebra? |
15:45 |
|
jcamins |
(by "perhaps" I mean "definitely") |
15:45 |
|
jcamins |
Woohoo! Test passes! |
15:45 |
|
* jcamins |
is taking a test-centric development approach. |
15:45 |
|
jcamins |
Unit tests before functionality. |
15:45 |
|
jcamins |
I don't know why I don't always do this. |
15:46 |
|
eythian |
because it feels like it takes a lot longer, even though it really doesn't. |
15:46 |
|
jcamins |
eythian: actually, I think it's because it never occurred to me that I *could*. |
15:47 |
|
Koha3-06-Help |
Yes ran remove items from biblioitems and we have NoZebra set to use and configured Zebra |
15:47 |
|
jcamins |
Hmmm. |
15:50 |
|
jcamins |
my $suggestions = $suggestor->get_suggestions({ 'search' => 'silliness' }); |
15:51 |
|
jcamins |
^^ this no suggestions for such silliness. :D |
15:51 |
|
jcamins |
s/this // |
15:51 |
|
jcamins |
Maybe this is why I don't generally write tests first. |
15:51 |
|
jcamins |
I get silly. |
15:53 |
|
jcamins |
Okay... reasons why suggestions shouldn't be AJAXy? |
15:53 |
|
jcamins |
Ready, go! |
15:53 |
|
jcamins |
wizzyrea: I'm looking at you, here. |
15:54 |
|
* wizzyrea |
doesn't see a reason |
15:54 |
|
wizzyrea |
people who don't have javascript will be mad? |
15:54 |
|
jcamins |
Why shouldn't I make the "Did you mean?" bar into an AJAX-based thing? |
15:54 |
|
wizzyrea |
^^ see above |
15:54 |
|
jcamins |
Okay... |
15:54 |
|
jcamins |
do I care? |
15:55 |
|
wizzyrea |
(I don't really consider it a deal breaker though - people who use IE must think the web never works, ever. People who don't use javascript probably have a similar experience) |
15:55 |
|
jcamins |
Sticking it inline at the top will make things a hell of a lot slower if you want useful suggestions. |
15:55 |
|
eythian |
wizzyrea: also people with screenreaders etc |
15:55 |
|
wizzyrea |
^^ and that |
15:56 |
|
jcamins |
Okay, that I care about. |
15:56 |
|
eythian |
jcamins: opac or staff client? |
15:56 |
|
jcamins |
OPAC. |
15:56 |
|
jcamins |
I would prefer not to make search results even slower. |
15:56 |
|
eythian |
if OPAC, I'd say target fancy but fall back gracefully |
15:56 |
|
wizzyrea |
what he said |
15:56 |
|
jcamins |
For screenreaders/no-JS... what about providing a link to get suggestions? |
15:56 |
|
jcamins |
Adds more work for me, of course. |
15:56 |
|
eythian |
sure |
15:57 |
|
eythian |
shouldn't be too much work, just link to the same page with "option=inline-suggestions" or similar |
15:57 |
|
jcamins |
But then everyone gets zippy searches |
15:57 |
|
jcamins |
Oh, you mean serve the rendered suggestions? |
15:57 |
|
jcamins |
BRILLIANT!!! |
15:57 |
|
jcamins |
Seriously, guys, it turns out I shouldn't do test-first development. |
15:58 |
|
jcamins |
I get a little over-enthusiastic. |
15:58 |
|
eythian |
yeah, so if they follow the link they get it like ajax, it just takes longer |
15:58 |
|
eythian |
also, if you can, try to avoid bumping content down if you insert stuff at the top, it's really annoying if things move 2 or 3 seconds after you start reading. |
15:59 |
|
* eythian |
would also like a pony |
15:59 |
|
jcamins |
eythian: I only planned on displaying one line of suggestions. |
15:59 |
|
eythian |
ah right, easy then |
15:59 |
|
jcamins |
Which will be occupied by the link to get suggestions. |
16:00 |
|
jcamins |
(or "Loading suggestions...") |
16:00 |
|
eythian |
yeah, sounds good |
16:00 |
|
jcamins |
Well, actually, I planned on displaying a sidebar with suggestions, but the suggestions at the top makes more sense now that you have suggested an easier way to deal with it. |
16:01 |
|
jcamins |
(yes, I planned on rendering the JSON in the browser... it's easy to test that;) |
16:01 |
|
eythian |
yeah :) |
16:01 |
|
jcamins |
Arglebargle! My test only covers 98.1% of the module. |
16:02 |
|
eythian |
haha |
16:03 |
|
|
melia joined #koha |
16:06 |
|
jcamins |
I tested 100% of the module I wrote just so I could test the module I'm trying to test. |
16:08 |
|
jcamins |
Well, I'll come back to this mystery. |
16:10 |
|
Koha3-06-Help |
Ok. I ran rebuild_zebra rebuild_zebra.pl -v -x -r -b the same thing is happening. Branch: returns no results. holdingbranch: returns results |
16:12 |
|
|
reiveune left #koha |
16:13 |
|
Koha3-06-Help |
For my sanity. How would I go about changing the template so the URL returns holdingbranch: instead of just branch: ? |
16:15 |
|
jcamins |
Koha3-06-Help: you're having problems from the advanced search screen? |
16:16 |
|
|
Morthland joined #koha |
16:16 |
|
Morthland |
Howdy |
16:16 |
|
Morthland |
I need some help generating a report. |
16:17 |
|
Koha3-06-Help |
Yeah. When I search for a book under all libraries. I get results. When I restrict it to a specific Branch I get no results. Interesting thing is the URL has an ending of "limit-branch:<branchcode>" if I change it to "limit-holdingbranch:<branchcode>" I get results. |
16:18 |
|
Morthland |
I need something of an inventory, but I need it to include the publishing date. |
16:18 |
|
jcamins |
sql report library? |
16:18 |
|
wahanui |
hmmm... sql report library is at http://wiki.koha-community.org[…]L_Reports_Library |
16:18 |
|
jcamins |
Morthland: ^^ there should be a report there you can borrow. |
16:19 |
|
jcamins |
"Weeder" or something like that. |
16:19 |
|
jcamins |
Koha3-06-Help: when you say it says "limit-branch" do you mean "limit=branch"? |
16:19 |
|
Koha3-06-Help |
yes "=" my bad. |
16:20 |
|
jcamins |
Okay, just checking. |
16:20 |
|
jcamins |
Ooh. I bet I know what it is. |
16:20 |
|
jcamins |
I bet 2.2 had different mappings. |
16:20 |
|
Koha3-06-Help |
opac-search.pl?q=huxley -> Returns Resutls |
16:20 |
|
jcamins |
So... |
16:20 |
|
jcamins |
hm. |
16:20 |
|
jcamins |
Changing it in the interface is going to be a huuuuuge problem. |
16:20 |
|
Koha3-06-Help |
opac-search.pl?idx=kw&q=huxley&sort_by=relevance_ASC&limit=branch:RHS - Returns no results |
16:21 |
|
* jcamins |
ponders. |
16:21 |
|
jcamins |
Do you have an internal knowledgebase? |
16:21 |
|
Koha3-06-Help |
opac-search.pl?idx=kw&q=huxley&sort_by=relevance_ASC&limit=holdingbranch:RHS -> returns results |
16:21 |
|
jcamins |
I have a solution, but it depends on you having an internal knowledgebase. |
16:21 |
|
jcamins |
Somewhere that some would *definitely* look when upgrading. |
16:21 |
|
jcamins |
*someone |
16:22 |
|
jcamins |
Even if that someone weren't you. |
16:22 |
|
jcamins |
Even if that someone had just been assigned to upgrade Koha after a decade of blissful neglect to the server. |
16:22 |
|
Koha3-06-Help |
No we do not have an internal knowledgebase. |
16:22 |
|
jcamins |
Hm. |
16:22 |
|
jcamins |
Can you have instructions etched onto the server's case? |
16:23 |
|
jcamins |
(I'm actually serious... you are going to make an impossibly small change, and it is going to confuse people) |
16:23 |
|
Morthland |
what is the title of the publishing date column? |
16:25 |
|
Morthland |
Nevermind, I believe I have found it. |
16:25 |
|
jcamins |
Morthland: I don't recall. |
16:25 |
|
jcamins |
There's a report on duplicate titles that should show you, though. |
16:26 |
|
jcamins |
Also there's a weeder report that includes it. |
16:26 |
|
jcamins |
:) |
16:26 |
|
jcamins |
Koha3-06-Help: so, in order to fix the problem, you can open up /etc/zebradb/ccl.properties, find the line that says "branch homebranch" and move that line to below the one that says "holdingbranch 1=[something] and change it to "branch holdingbranch" |
16:29 |
|
Koha3-06-Help |
I am willing to try anything at this point. Give me a min. It would only be me or one other person that does this. |
16:33 |
|
Koha3-06-Help |
That fixed it. Could you explain to me why it did? The URL is still the same |
16:33 |
|
|
drojf joined #koha |
16:36 |
|
jcamins |
What you did is changed the "branch:" prefix for searching to mean holdingbranch instead of homebranch. |
16:37 |
|
Koha3-06-Help |
But homebranch is the same as holdingbranch? I am not trying to argue, just understand. |
16:38 |
|
jcamins |
Nope. |
16:38 |
|
jcamins |
homebranch and holdingbranch are two different fields. |
16:38 |
|
jcamins |
The problem is that items.homebranch is not getting put into the correct place for indexing. |
16:38 |
|
jcamins |
It would be good to fix that. |
16:38 |
|
Koha3-06-Help |
I know they are two different fields. But they appear to be identical data. |
16:38 |
|
jcamins |
Unfortunately, I don't know how to fix it. |
16:39 |
|
jcamins |
items.homebranch and items.holdingbranch have identical data. |
16:39 |
|
jcamins |
The search engine does not use the data from there directly, though. |
16:40 |
|
jcamins |
I'd say "it makes sense," except it doesn't. ;) |
16:42 |
|
wizzyrea |
what did I miss re: the tests and koha::searchengine::zebra |
16:42 |
|
wizzyrea |
it's failing with a "not in @INC" |
16:42 |
|
wizzyrea |
do I have a wrong config file somewhere |
16:43 |
|
Koha3-06-Help |
Would it be a fix to the database? Or a fix to the zebra index? I don't mind spending sometime looking. What would I be looking for? |
16:43 |
|
jcamins |
No, it doesn't work on Squeeze. |
16:43 |
|
wizzyrea |
ah |
16:43 |
|
jcamins |
Problem, ya. |
16:43 |
|
wizzyrea |
i knew I had missed something |
16:43 |
|
|
mbalmer joined #koha |
16:43 |
|
mbalmer |
ola |
16:43 |
|
jcamins |
Koha3-06-Help: it'll be something to do with your MARC mappings. |
16:44 |
|
jcamins |
Probably homebranch needs to be mapped to something different than it is. |
16:44 |
|
jcamins |
But changing mappings can be tricky. In fact, I'm not 100% sure how it works. |
16:44 |
|
jcamins |
wizzyrea: I posted a tetchy comment on the bug. |
16:47 |
|
jcamins |
Woohoo! |
16:47 |
|
jcamins |
100% test coverage! |
16:47 |
|
wizzyrea |
which bug? |
16:47 |
|
jcamins |
@query solr |
16:47 |
|
huginn |
jcamins: Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7260 enhancement, P5 - low, ---, gmcharlt, NEW , User should be able to determine the number of search results per page (OPAC) |
16:47 |
|
huginn |
jcamins: Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7174 enhancement, P5 - low, ---, paul.poulain, NEW , Authentication rewriting |
16:47 |
|
huginn |
jcamins: Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8233 major, P2, ---, jonathan.druart, ASSIGNED , New search engine layer - introduce solr without breaking anything else |
16:47 |
|
huginn |
jcamins: Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7417 enhancement, P5 - low, ---, jcamins, ASSIGNED , Include alternate forms from authorities in bibliographic searches |
16:47 |
|
huginn |
jcamins: Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7013 normal, PATCH-Sent (DO NOT USE), ---, adrien.saurat, In Discussion , required format is not enforced for authorized values |
16:47 |
|
jcamins |
Bug 8233 |
16:47 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8233 major, P2, ---, jonathan.druart, ASSIGNED , New search engine layer - introduce solr without breaking anything else |
16:49 |
|
wizzyrea |
how are the tests passing on jenkins? |
16:51 |
|
jcamins |
wizzyrea: rangi spent waaaaaaay more time than I would've had the patience for recompiling things from CPAN. |
16:52 |
|
wizzyrea |
ooo kkkayyy |
17:01 |
|
jcamins |
have I mentioned recently what a horror SearchAuthorities is? |
17:02 |
|
drojf |
goodness. i have a single mysql database at my hoster and can install a single module (like wordpress, mediawiki etc) only once into that db. i had mediawiki installed, deleted it and now i cannot reinstall, because obviously they forget to delete the information "mediawiki deleted from db". so what is their solution? i should try to delete the whole database. with all the other data inside. because their deinstallation routine is broken |
17:02 |
|
jcamins |
drojf: time to change hosts? |
17:02 |
|
jcamins |
Get a VPS. |
17:03 |
|
drojf |
i just got that a few weeks ago so i guess i'm stuck for a year or pay twice. |
17:03 |
|
jcamins |
:( |
17:03 |
|
drojf |
i probably should lose a raspberry pi somewhere in the university network |
17:03 |
|
jcamins |
lol |
17:07 |
|
* drojf |
gets a backup of his db. who knows what is going to happen next |
17:09 |
|
pastebot |
"jcamins" at 127.0.0.1 pasted "wizzyrea: pour vous" (61 lines) at http://paste.koha-community.org/45 |
17:09 |
|
wizzyrea |
thanks :) |
17:10 |
|
jcamins |
Actually, I'm going to symlink a bunch more now. |
17:10 |
|
jcamins |
xsl |
17:10 |
|
wizzyrea |
we should make the installer do this for us |
17:10 |
|
wizzyrea |
bc this is nuts. |
17:10 |
|
jcamins |
lang_defs |
17:10 |
|
jcamins |
Agreed. |
17:11 |
|
jcamins |
You should comment on my bug saying that it's a good idea. |
17:11 |
|
jcamins |
It wasn't well-received. |
17:11 |
|
wizzyrea |
which bug |
17:11 |
|
* wizzyrea |
will have to be righteously convinced otherwise. |
17:11 |
|
|
tomatoe joined #koha |
17:11 |
|
wizzyrea |
whaddup nightshade |
17:11 |
|
jcamins |
Also etc, I think. |
17:12 |
|
jcamins |
Good question. |
17:12 |
|
|
tomatoe left #koha |
17:12 |
|
jcamins |
Bug 7512 |
17:12 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7512 enhancement, P5 - low, ---, gmcharlt, NEW , Dev mode install should use Zebra configs from kohaclone |
17:13 |
|
jcamins |
etc/zebradb/etc can be symlinked to. |
17:14 |
|
jcamins |
Oh, except for passwd. |
17:23 |
|
gaetan_B |
bye ! |
17:23 |
|
jcamins |
Test-driven development is just easier. |
17:23 |
|
jcamins |
If I make the script respond to the command line, I can just run opac/opac-suggestions.pl over and over until it gives the results I want. |
17:25 |
|
jcamins |
Also, anyone who doesn't write POD first is making their lives needlessly complex and unpleasant. |
17:31 |
|
|
brylie joined #koha |
17:34 |
|
jeff |
docs++ |
17:50 |
|
nengard |
speaking of docs ? bug 6716 still needs several sign off :) |
17:50 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6716 enhancement, P3, ---, nengard, Needs Signoff , Database Documentation |
18:41 |
|
|
trea left #koha |
19:23 |
|
jcamins |
Alas, oleonard is not here. |
19:27 |
|
|
libsysguy joined #koha |
19:28 |
|
|
nengard left #koha |
20:02 |
|
jcamins |
Bug 7417 submited for signoff. |
20:02 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7417 enhancement, P5 - low, ---, jcamins, Needs Signoff , Include alternate forms from authorities in bibliographic searches |
20:02 |
|
jcamins |
*submitted |
20:02 |
|
|
trea joined #koha |
20:03 |
|
rangi |
Morning peeps |
20:04 |
|
drojf |
good morning rangi |
20:07 |
|
jcamins |
I have a markup problem. |
20:07 |
|
jcamins |
When this line wraps, the second overlaps the first. |
20:07 |
|
jcamins |
CSS problem. |
20:07 |
|
|
jwagner joined #koha |
20:07 |
|
|
BobB joined #koha |
20:07 |
|
|
khall joined #koha |
20:07 |
|
|
bag joined #koha |
20:07 |
|
|
phasefx_ joined #koha |
20:07 |
|
|
senator joined #koha |
20:07 |
|
|
gmcharlt joined #koha |
20:07 |
|
|
sijobl joined #koha |
20:08 |
|
drojf |
weeeee |
20:08 |
|
jcamins |
Got it. display: inline-block; |
20:08 |
|
|
cait joined #koha |
20:11 |
|
|
Topic for #koha is now Koha 3.8.2, 3.6.6 and 3.4.8 Now Available | Koha Community Website - http://www.koha-community.org/ | General IRC meeting, 18 July 2012 at 10:00 UTC+0 |
20:12 |
|
|
trea left #koha |
20:14 |
|
* cait |
waves |
20:14 |
|
* jcamins |
waves back. |
20:18 |
|
jcamins |
YES!!!! |
20:18 |
|
jcamins |
I got relevance ranking working with authorities. :D |
20:19 |
|
jcamins |
Uhhh... this is good. |
20:19 |
|
jcamins |
And surprising. |
20:23 |
|
rangi |
My stop brb |
20:24 |
|
drojf |
jcamins++ |
20:28 |
|
cait |
jcamins++ |
20:28 |
|
drojf |
hi cait :) |
20:29 |
|
cait |
hi all :) |
20:31 |
|
rangi |
back |
20:42 |
|
|
kathryn joined #koha |
20:46 |
|
wizzyrea |
jcamins++ |
20:48 |
|
jcamins |
Ummm... |
20:48 |
|
jcamins |
Could someone try to edit local use system preferences? |
20:49 |
|
* wizzyrea |
is on it |
20:49 |
|
wizzyrea |
it works for me |
20:49 |
|
wizzyrea |
any specific local use preference? |
20:49 |
|
wizzyrea |
a "new preference? |
20:49 |
|
wizzyrea |
" |
20:50 |
|
jcamins |
I can't get to the page at all. |
20:50 |
|
wizzyrea |
hmm |
20:50 |
|
wizzyrea |
how did you go about getting there |
20:51 |
|
jcamins |
I clicked the link. |
20:51 |
|
jcamins |
Must be my fault. |
20:51 |
|
jcamins |
I wonder how. |
20:51 |
|
wizzyrea |
I went More -> administration -> Global system preferences -> local use tab |
20:51 |
|
wizzyrea |
worked ok for me |
20:51 |
|
jcamins |
Oh, got it. |
20:52 |
|
jcamins |
I had opened a pref file, and the .swp file was confusing the script. |
20:52 |
|
wizzyrea |
oooooo |
20:59 |
|
wizzyrea |
@wunder lawrence ks |
20:59 |
|
huginn |
wizzyrea: The current temperature in Lawrence Live-Courtesy of the Khoury's, Lawrence, Kansas is 38.0°C (3:58 PM CDT on July 19, 2012). Conditions: Clear. Humidity: 37%. Dew Point: 21.0°C. Pressure: 29.91 in 1013 hPa (Falling). Heat advisory in effect until 8 PM CDT Tuesday... |
21:00 |
|
wizzyrea |
not as bad as what my computer says but OY still hot |
21:04 |
|
rangi |
hmm |
21:04 |
|
rangi |
@wunder nzwn |
21:04 |
|
huginn |
rangi: The current temperature in Wellington, New Zealand is 10.0°C (8:00 AM NZST on July 20, 2012). Conditions: Partly Cloudy. Humidity: 82%. Dew Point: 7.0°C. Pressure: 30.42 in 1030 hPa (Steady). |
21:30 |
|
wizzyrea |
ooh jquery 2.0 will drop support for IE 6 7 and 8 |
21:31 |
|
wizzyrea |
about time I say. Those people already think the web is broken anyway, let's just make it official. ;) |
21:32 |
|
cait |
it also looks like the menu widget will be in the next jquery ui release |
21:32 |
|
cait |
only no idea when that is |
21:32 |
|
rangi |
yay |
21:34 |
|
cait |
i tried to find out last week |
21:34 |
|
libsysguy |
@wunder 75707 |
21:34 |
|
huginn |
libsysguy: The current temperature in The Ridge at the Woods, Tyler, Texas is 35.1°C (4:30 PM CDT on July 19, 2012). Conditions: Clear. Humidity: 50%. Dew Point: 23.0°C. Pressure: 30.03 in 1017 hPa (Falling). |
21:42 |
|
drojf |
rangi: http://www.3d0g.net/brewing/untappd-kegerator |
21:43 |
|
rangi |
heh sweet |
21:53 |
|
cait |
:) |
21:53 |
|
|
tomatoe joined #koha |
21:58 |
|
drojf |
ha, bed before midnight! i'm a good boy. good night #koha |
21:58 |
|
cait |
good night drojf |
21:58 |
|
wizzyrea |
gnite :) |
21:58 |
|
cait |
:) |
21:58 |
|
wizzyrea |
now to get cait into bed... |
22:00 |
|
cait |
cait is on vacation :) |
22:00 |
|
wizzyrea |
that means you should be SLEEPING. |
22:00 |
|
wizzyrea |
:) |
22:00 |
|
cait |
huh? |
22:00 |
|
wizzyrea |
on vacation, good time to sleep |
22:00 |
|
cait |
I am talking to my brother about computer things |
22:00 |
|
wizzyrea |
oh never mind. |
22:00 |
|
wizzyrea |
:) |
22:01 |
|
cait |
:) |
22:08 |
|
|
edveal left #koha |
22:34 |
|
cait |
night all |
22:34 |
|
rangi |
cya cait |
22:35 |
|
|
cait left #koha |
22:54 |
|
|
tomatoe left #koha |
23:13 |
|
|
BobB_ joined #koha |
23:38 |
|
|
papa joined #koha |