IRC log for #koha, 2014-01-10

All times shown according to UTC.

Time S Nick Message
00:01 dcook Yikes. Always a fun time.
00:08 rocio left #koha
00:08 rambutan left #koha
00:11 * wizzyrea is with dcook. It's a friday, so that's a thing.
00:11 wizzyrea it is not cold here, so that's something.
00:12 dcook Hmm, I even see some blue sky
00:13 pianohacker wizzyrea: wait, friday?
00:13 * wizzyrea comes from the future now
00:14 pianohacker wizzyrea-88mph: nice trick!
00:14 wizzyrea I do my best
00:14 pianohacker or more appropriately wizzyrea-wibbly-wobbly
00:14 wizzyrea timey wimey!
00:14 * dcook was just thinking timey wimey!
00:14 pianohacker doctorwho++
00:15 wizzyrea I miss ten.
00:15 wizzyrea rather, I miss the guy who wrote ten.
00:15 pianohacker yeah...
00:18 rangi pianohacker: yep, she is doing good, imporving slowly
00:20 pianohacker rangi: very glad to hear. What originally happened? I only heard about the later parts where she was in the hospital and things were frightening
00:21 rangi ahh just gallstones
00:24 pianohacker ah. okay. glad she's all right
00:24 rangi thanks
00:29 NateC joined #koha
00:48 maximep left #koha
00:52 maximep joined #koha
01:11 maximep left #koha
01:16 maximep joined #koha
01:21 maximep left #koha
01:25 dcook Apparently an anonymous user entering creates 3 sessions? :S
01:25 dcook Or at least calls "get_session" 3 times
01:25 dcook Well, in 3.8.0...
01:25 dcook A modified in 3.8.0
01:26 wizzyrea i hope you're not actually running 3.8.0, desn't it have that nasty cookie bug in it?
01:26 dcook The security one?
01:26 wizzyrea yea
01:26 dcook Yeah, I patched that
01:27 wizzyrea phew
01:27 dcook It's a modified 3.8.0, so it's not as  bad as 3.8.0, but I'll be glad to move up (eventually)
01:27 dcook I think I counted 160 some commits I've made to 3.8.0 that haven't made it into/come from master...
01:28 dcook (Not) looking forward to an upgrade
01:28 dcook Mmm ambivalence
01:29 pianohacker dcook: I had one of those systems once. Rebases were great, took hours, caused random bugs, just the cat's meow
01:30 dcook Imagine doing it without Git O_OO
01:30 dcook O_O*
01:31 * dcook moved up from a gitless 3.2 to a gitted 3.8
01:31 dcook Of course, I didn't move "everything" as a lot of it was obsolete/not needed anymore
01:31 dcook But still...200 some changes?
01:31 dcook I think I've got ~40 into Koha so far
01:31 dcook The remaining 160 are a mix of community-level and local stuff though :/
01:41 dcook Yep, those are definitely 3 different sessions...
01:43 * dcook has no idea how $sessionID is being passed around by checkauth() at all...
01:45 dcook Ah wait...I think I see it now..
01:49 dcook Sweet Jesus, I think I almost understand checkauth()...
01:50 dcook No idea why we're creating that first session...seems pointless.
01:51 dcook Which is's no longer in master
01:51 dcook \o/
01:52 pianohacker nothing to contribute, just making it so you don't have to talk to yourself forever :)
01:52 dcook hehe. Thanks, pianohacker :)
01:52 dcook I should probably just open a msg window to myself
01:52 pianohacker #koha - the world-wide rubber duck
01:53 dcook Pretty much
01:53 dcook It works
01:53 wahanui However, now everything else is broken.
01:53 dcook hehe
01:54 pianohacker hah! that's wonderful
01:55 dcook Hmm, maybe that first session isn't useless, my comprehension is gone again :p
01:55 * dcook looks at the logs
01:59 mtompset sessions?
01:59 wahanui sessions are another biggie
02:00 mtompset True, wahanui. Very true.
02:01 mtompset dcook: I think the session number is created, so the cookie can be set.
02:03 mtompset so the cookie can be used to see if the session is in the DB, and if not attempt authentication. And if fail, clear it all, and try again. :)
02:04 dcook I don't think so
02:04 dcook Well, but yes
02:04 dcook Master's version makes more sense
02:04 dcook 3.8.0's not so much
02:04 dcook Although there are also other potential factors..
02:04 wahanui okay, dcook.
02:05 dcook wahanui forget although there
02:05 wahanui dcook: I forgot although there
02:06 dcook my $session = get_session($sessionID); should be after $sessionID = $query->cookie("CGISESSID")
02:06 dcook And it is, in master
02:06 dcook But in 3.8.0, it's before O_o
02:06 dcook Yet, somehow it still seems to work...sometimes
02:06 dcook Even though $sessionID should be null every time when called before..
02:07 dcook Ah, and perhaps it is..
02:07 dcook But..
02:08 dcook I think I need to check a different environment
02:09 rangi hello stranger
02:09 wahanui
02:13 dcook I think...I'm missing something
02:13 dcook Hmm, but not the thing I thought..
02:15 pianohacker ohh sheezus this script I'm working on has a mix of 2-, 3-, and 4-space indentation...
02:15 dcook I've seen that from time to time. So not fun :(
02:17 mtompset Yes, quite evil.
02:18 mtompset How do you rotate the log files for koha?
02:21 * dcook is thinking some CGI::Session black magic is going on..
02:26 dcook A first visit to will generate 3 session calls and 3 new sessions
02:27 dcook A subsequent visit to another page will use the session id from the 2nd 2 more calls using the session id of the 2nd
02:27 dcook :S
02:27 dcook With those 2 calls, the first is passed a null, the second is passed a legitimate id
02:28 dcook But the sessions retrieved aren't quite the same..
02:29 dcook Ahh, wait, perhaps I'm an idiot
02:29 mtompset dcook: You aren't reading all the else's and if's correctly.
02:30 dcook I'm not dumping the variable correctly
02:30 mtompset dcook: Not an idiot. The code is horrendously painful to read, but it becomes sensible after a month or three. :)
02:31 dcook Hmm, nice idea, but changing the dump didn't do anything..
02:32 dcook Hmm, I do have one other idea..
02:34 dcook I should probably look up the commit that changed things in master
02:34 dcook If the commit message is anything to go on..
02:35 dcook Definitely get different results passing '' versus undef..
02:39 dcook's not looks like we did the weird moving around..
02:40 mtompset Anyone on how to rotate log files?
02:41 pianohacker mtompset: while this may seem silly, do look at logrotate :)
02:41 pianohacker time to jet!
02:41 mtompset I'm not familiar with any log file rotation. Thank you. :)
04:47 dcook Victorious!
04:47 * dcook envisions himself stomping about doing something celebratory
04:47 * dcook actually just drinks some more water
04:57 dexap joined #koha
04:57 jeff__ joined #koha
04:59 matts_away joined #koha
05:01 trea joined #koha
05:09 rambuten joined #koha
05:11 papa joined #koha
05:41 cait joined #koha
05:50 dcook joined #koha
06:08 dcook Night #koha
06:55 BobB joined #koha
07:13 mtompset Have a great day, #koha.
07:13 cait off to work... cya in a bit #koha
07:13 cait left #koha
07:30 * magnuse waves
07:38 laurence joined #koha
07:47 alex_a joined #koha
07:49 alex_a bonjour
07:49 wahanui niihau, alex_a
07:50 reiveune joined #koha
07:51 reiveune hello
07:51 magnuse bonjour laurence alex_a reiveune
07:51 magnuse @wunder boo
07:51 huginn magnuse: The current temperature in Bodo, Norway is -6.0°C (8:20 AM CET on January 10, 2014). Conditions: Clear. Humidity: 46%. Dew Point: -16.0°C. Windchill: -14.0°C. Pressure: 29.77 in 1008 hPa (Steady).
07:51 magnuse back to normal...
07:51 magnuse @wunder marseille
07:51 huginn magnuse: The current temperature in Realtor, CABRIES, France is 5.6°C (8:51 AM CET on January 10, 2014). Conditions: Partly Cloudy. Humidity: 77%. Dew Point: 2.0°C. Windchill: 6.0°C. Pressure: 30.09 in 1019 hPa (Steady).
07:53 alex_a bonjour magnuse
07:57 paxed doesn't koha have a utility template that could contain small TT BLOCKs? kinda silly to repeat the same code, like in commit 8aa0e685
07:58 Joubu joined #koha
07:58 Joubu hi
08:00 cait joined #koha
08:00 cait good morning #koha
08:01 magnuse kia ora cait
08:01 magnuse ...and Joubu and paxed
08:01 magnuse paxed: dunno what you mean by "utility template", but it is certainly possible to use includes in TT
08:01 sophie_m joined #koha
08:01 magnuse bonjour sophie_m
08:02 cait hi sophie_m, magnus
08:02 paul_p joined #koha
08:02 sophie_m hello magnuse, cait and #koha
08:02 cait morning paul_p
08:03 paxed magnuse: i was wondering if there already was a file for it...
08:04 paxed instead of just putting all small utility BLOCKs in several files.
08:05 paul_p hi cait
08:06 gaetan_B joined #koha
08:07 gaetan_B hello
08:07 wahanui hi, gaetan_B
08:09 Joubu joined #koha
08:09 cait good morning Joubu
08:09 paxed in MARC bib frameworks subfields, there's a visibility "Flagged" boolean. the help says "Flagged - This setting is exclusive of all other visibility options, and flags the field."  -- what does that mean?
08:09 Joubu hi cait and magnuse
08:10 cait we don't know
08:10 cait it came up when the gui was redone, I am not sure you can find out without looking at the code
08:11 nlegrand hey #khoa
08:11 nlegrand *#koha
08:11 cait hi nle
08:11 cait hi nlegrand
08:17 paxed cait: you're kidding me?
08:17 cait no i am not
08:19 cait the option was always there but a bit more hidden with the old way the gui worked, but I don't know if it has a function
08:52 kivilahtio joined #koha
08:58 ashimema joined #koha
10:12 ashimema am I being dumb.. are there release notes for 3.14.01 anywhere?
10:16 cait i think there was an email, not sure fridolin has posted them on the website
10:16 cait might besomething to point out if he hasn't
10:17 ashimema their not na the webiste..
10:17 ashimema goind through my emails now
10:17 cait i am seeing something werid... and i am at a loss of ideas
10:17 cait when i send an empty advanced search form
10:18 cait my url contains a lot of empty &limit=&limit= parameters
10:18 cait it's in 3.12.8
10:18 cait but magnuse can't reproduce it
10:18 cait and i don't see the difference between a 3.12.7 that doesn't do that and my 3.12.8 that does...
10:18 cait it's driving me crazy, someone an idea maybe?
10:19 ashimema hmmm.. odd
10:21 cait yeah :(
10:21 cait any hints ideas welcome...
10:21 cait i need to fix this
10:30 fridolin joined #koha
10:30 fridolin hie all
10:31 cait hi fridolin
10:31 fridolin ashimema: release notes are present in sources and in a mail to community
10:32 fridolin I do not have yet an account on website
10:32 cait fridolin: maybe write wizzyrea an email to create you one so you can post?
10:32 cait it would be good having them show up in the timeline
10:33 fridolin Galen has created one but i do not recieve the confirmation mail
10:40 cait hm weird, best to let wizzyrea know i guess
10:50 nlegrand ashimema: ?
10:54 magnuse nlegrand: that is 3.14.0, ashimema was looking for 3.14.1 :-)
10:54 ashimema I found the notes in git and Fridolin's email..
10:55 ashimema but they're not on the website ;)
10:55 ashimema nto that I could find anyways..
10:55 ashimema Cheers fridolin
10:56 fridolin cheers
10:56 cait limit--
10:56 cait i am still not finidng the problem
10:56 cait going insane here :(
11:10 nlegrand magnuse: ho sorry ^^
11:53 tcohen joined #koha
11:54 tcohen morning #koha
11:55 tcohen Joubu: i will just obsolete that patch (rollback) don't worry about it
11:57 Joubu tcohen: hi! I am not worry :) It could be pushed if you want.
12:05 tcohen i just remembered that the coding guidelines stated that it should be made explicit
12:05 tcohen but i cannot seem to find that coding guideline
12:08 tcohen @seen rangi
12:08 huginn tcohen: rangi was last seen in #koha 9 hours, 58 minutes, and 34 seconds ago: <rangi> hello stranger
12:14 tcohen hi khall
12:15 khall mornin tcohen!
12:15 tcohen am about to go for the second mug of coffee in a row
12:15 Joubu khall: hi! Did you see my question on bug 9448?
12:15 huginn Bug[…]w_bug.cgi?id=9448 enhancement, P5 - low, ---, kyle, Signed Off , Add separate permission for writing off fees
12:15 tcohen fridays are too difficult heh
12:16 khall comment 12?
12:18 Joubu khall: yep
12:19 khall yeah, I think it should still be pushed to master, and then I'll need to add a followup to 6427 to implement the permission for the new accounting system as well.
12:19 NateC joined #koha
12:20 Joubu khall: ok thanks
12:21 khall np!
12:24 cait khall: would you mind renaming it? i think the description is not very celar and referring to the other perm code
12:24 tcohen mornin cait
12:24 cait mornign tcohen
12:25 cait khall: i had looked it at earlier but then got distracted... seems to be a main problem these days
12:26 khall cait: you want me to rename the bug?
12:27 cait i am being terrible :) i was thinking about the perm descriptons
12:27 cait Remaining updatecharges permissions'
12:28 cait sounds a bit more progammer view then user view :)
12:31 jwagner joined #koha
12:31 cait yeah... i am being a bit terrible. I shoudl better try and find out what's going wrong in this install... :(
12:59 francharb joined #koha
13:04 meliss joined #koha
13:06 francharb Good morning #koha
13:10 tcohen hi francharb
13:11 francharb o/ tcohen
13:11 barton joined #koha
13:12 khall @later tell gmcharlt Good idea, or bad idea?[…]_bug.cgi?id=11518
13:12 huginn khall: The operation succeeded.
13:12 huginn Bug 11518: enhancement, P5 - low, ---, kyle, Needs Signoff , Add new method to Koha::Schema::Result::Item that will always return the correct itemtype
13:13 oleonard joined #koha
13:14 oleonard Hi #koha
13:36 magnuse oops, the dashboard lost touch with the db again
13:37 magnuse ah, it's back
13:49 edveal joined #koha
14:02 Dyrcona joined #koha
14:10 nengard joined #koha
14:15 pkiraly joined #koha
14:25 fridolin see you
14:25 fridolin left #koha
14:30 oleonard Hi pkiraly
14:30 magnuse bag around?
14:30 pkiraly joined #koha
14:35 Joubu joined #koha
14:43 talljoy joined #koha
14:50 pablito joined #koha
14:50 pablito hi everyone
14:50 pablito hi cait
14:50 pablito :-)
14:51 cait hi pablito
14:51 pablito thanks for the heads up yesterday about pazpar2
14:52 pablito I have an interesting issue today with koha
14:53 oleonard interesting?
14:53 wahanui interesting is sometimes good and sometimes bad
14:53 pablito My koha has 36K+ records/books
14:54 pablito but I wanted to fix the title issue yesterday and update all the barcodes
14:54 pablito so I staged imported all 36K+ records with the matching rule base on the control number
14:55 pablito the idea is to update all those records with the new title format and barcodes
14:55 pablito the title format went through
14:55 pablito but it created a duplicate item for many records
14:56 pablito before this change, I have one item per record, but now, I have two items
14:56 pablito one item with the old bar code, the other with the new barcode
14:58 pablito Item typeLocation        Call number                Status       Date due          Barcode
14:58 pablito Books Books STS LIBRARYII G 74 (Browse shelf) Available                  3859
14:58 pablito Books Books STS LIBRARYII G 74 (Browse shelf) Available                  0000000023431
14:58 pablito notice the only difference between the two items is the barcode
14:59 Joubu joined #koha
14:59 pablito i wanted to replace longer barcode with the shorther one, but it didn't replace, instead it added
15:00 maximep joined #koha
15:00 pablito any ideas why this happened? and how to fix it?
15:06 AmitG joined #koha
15:06 AmitG hi all
15:06 AmitG heya cait
15:06 AmitG heya galen
15:06 cait hi AmitG
15:08 cait pablito: you can't update items in 3.12
15:08 pablito I have koha 3.14
15:08 cait did you set the option for updating barcodes in your file? and did your import file have the itmenumber ?
15:08 cait hm updating the items
15:08 cait when you staged
15:08 cait there is a new option for that
15:09 cait koha thought it was new items you were trying to import and didn't match them
15:09 maximep left #koha
15:09 AmitG heya galen
15:09 pablito my import file doesn't have the itemnumber
15:10 pablito also, how do I set the option to update the barcodes?
15:11 pablito I know you can create a matching rule for records, but I can't find the option to creating matching rule for item
15:13 cait there is one option in items
15:13 cait but it willonly work if you provide the itemnumber in your import file
15:13 cait because else koha can't match the items on anything
15:13 cait it has to be either barcode or itemnumber
15:13 pablito ah
15:13 maximep joined #koha
15:14 gmcharlt khall: re 11518, good idea, although I think calling the virtual field effective_itemtype might be clearer, at the cost of being more verbose
15:14 * cait waves at gmcharlt
15:15 khall good call, thanks for taking a look!
15:15 gmcharlt khall: also, re bug 10774, do you have any objections to my adding a 'btn-mini' style to the per-hold cancel and suspend buttons?
15:15 huginn Bug[…]_bug.cgi?id=10774 enhancement, P5 - low, ---, kyle, Passed QA , Allow individual holds to be suspended and resumed from the OPAC
15:15 gmcharlt hi cait
15:15 khall gmcharlt: no problem at all.
15:15 gmcharlt thanks
15:16 gmcharlt I'm afraid my first reaction was "wow! those buttons are huge!" ;)
15:17 tcohen hi gmcharlt
15:17 gmcharlt hi tcohen
15:17 gmcharlt happy Friday!
15:17 gmcharlt (and happy Saturday!)
15:21 tcohen :-D
15:21 * khall has bad eyesight ; )
15:22 tcohen do anyone recalls a weird condition where the pragma -no_undef_params wouldn't work?
15:28 cait tcohen: i think it never worked
15:28 cait i tracked it down to when it was added... and there was a comment one line above:
15:29 cait #not sure undef_params_option is working, need to test
15:29 cait and it had the '' back then, which seem to make it not work at all
15:29 cait so... has anyone ever seen empty limit=&limit=... params in the URL and run into problems with that?
15:32 tcohen fixed it ;)
15:32 cait oh? :)
15:32 huginn New commit(s) kohagit: Bug 10774: (follow-up) tweak styling of buttons on Bootstrap theme <[…]2fc2b6f69978b5b1b> / Bug 10774: (QA Followup) Add support for bootstrap opac theme <[…]82791dd8d66c2eb9d> / Bug 10774: Allow individual holds to be suspended and resumed from the OPAC <htt
15:33 rocio joined #koha
15:38 mtompset joined #koha
15:38 mtompset gmcharlt++ # good suggestion about splitting prog/bootstrap patch work.
15:39 cait yep
15:39 cait gmcharlt++
15:40 cait oleonard: saw your comment on 11411 - how is the less thing done? is there a step by step someone could follow?
15:42 oleonard I have not created one specific to Koha
15:42 oleonard ...but I should :|
15:43 oleonard We've talked in the abstract about creating a build process for templates... Perhaps giving the LESS-compiling step to the RM
15:44 oleonard There are other template tools that could be added to a build process which I think would be good
15:44 * gmcharlt is all ears
15:45 mtompset Well hopefully, brain, eyes, nose, etc. too, gmcharlt. ;)
15:45 oleonard Well, a good start would be to minify and concatenate what JavaScript we can, and minify all CSS as well
15:46 oleonard But how would that work? Would compiled CSS not be tracked by git? Only LESS?
15:47 mtompset I have a question about dates... I'm trying to clean up Patron categories, and this enrollment date thing is a mess. I cleaned it mostly up with the KohaDates (YAY!), but my question is... if someone manually enters a date in the wrong format, how can we handle that?
15:47 gmcharlt it's good practice to not check in built/compiled artifacts into the VCS
15:47 AmitG joined #koha
15:47 gmcharlt so the build process would have to make it easy to recompile the CSS at will
15:49 mtompset when I say wrong format, I mean different than the dateformat system preference.
15:50 oleonard When I was putting together the Bootstrap theme I started developing a grunt workflow for it but then stopped because I already had too much to do. I'll try to pick up where I left off and solicit some comments
15:51 pastebot "tcohen" at pasted "cait: try this" (16 lines) at
15:52 oleonard gmcharlt: At some point the LESS/JS has to be compiled/processed... Are the compiled versions only in releases? I'm not sure I understand how that would work.
15:53 oleonard mtompset: I think we don't really have a good way of handling that, hence the liberal use of datepickers. Now we're in hot water with the datepickers because they're not universally accessible
15:53 gmcharlt oleonard: at the moment, my gut feeling is that it would always be compiled, and that there would be a one-line command provided for dev-mode users to recompile at will
15:54 mtompset oleonard: Okay. Then I'll just leave that one error log generating piece of code alone. ;)
15:55 oleonard gmcharlt: "always be compiled" = built/compiled artifacts in the VCS?
15:56 gmcharlt no, I mean that the templates expect that the CSS is compiled, but the dev is reponsible for running the compilation step as required after they pull
15:56 gmcharlt a possible alternative, again for dev users, might be a flag that indicates whether a particular Koha isntance is running with source or compiled CSS
15:57 cait i think that would be a bit better
15:57 cait sounds like less to think about :)
15:58 * cait gives up on the bug now.
15:58 AmitG @bug 10477
15:58 huginn AmitG: Bug[…]_bug.cgi?id=10477 enhancement, P5 - low, ---, kohapatch, Signed Off , Increased flexibility for upload of Staged MARC records
15:59 cait tcohen: let's sleep over it?
16:03 reiveune left #koha
16:04 bdonnahue joined #koha
16:05 rambutan joined #koha
16:05 bdonnahue hello. i am setting up a mysql cluster and was wondering if it was possible to run koha on this?
16:08 tcohen gmcharlt: should I move 11096 back to needs-signoff?
16:08 tcohen (forgot to do so)
16:08 gmcharlt tcohen: yes, please
16:10 nengard left #koha
16:12 huginn New commit(s) kohagit: Bug 11051: remove unneccessary SQL queries in GetBranches <[…]71b1a9aa838c673ae> / Bug 11475: fix return link after editing/deleting items in batch <[…]55fb42c29edd5789d> / Bug 10646 - warn if mod_rewrite is not enabled <
16:15 AmitG @bug 10477
16:15 huginn AmitG: Bug[…]_bug.cgi?id=10477 enhancement, P5 - low, ---, kohapatch, Signed Off , Increased flexibility for upload of Staged MARC records
16:18 cait tcohen++
16:19 bdonnahue can anyone talk to me high level about how koha works? im trying to figure out if there is any way to get a clustered deployment. I was thinking it might be possible to have nodes mount an nfs share and share config files and store the data in a clustered mysql db
16:21 tcohen config files can be handled using chef or puppet
16:22 tcohen you need to share the zebra indexes files accross nodes
16:22 tcohen and make sure sessions are stored on the DB, or in a clustered memcache
16:22 bdonnahue im unfamiliar with chef or puppet. what do you mean handled?
16:23 tcohen a Koha install is just installing koha-common
16:23 tcohen and then setting the Koha instances using koha-create
16:23 blou joined #koha
16:23 tcohen koha-create generates several files
16:23 tcohen (config files)
16:23 blou holà koha!
16:24 tcohen you can make puppet manage those files, or use a VCS to store/retreive them in the nodes
16:24 tcohen (so they all have the same configuration)
16:25 tcohen did i say it in a way you understood what i meant bdonnahue ?
16:26 tcohen sublime_text++
16:27 bdonnahue im just processing... so to summarize:
16:28 bdonnahue config files can be shared
16:28 bdonnahue im not sure about zebra can you elaborate?
16:29 tcohen zebra is an indexing server, used for searches
16:29 tcohen some of its generated files (/var/lib/koha...) need to be shared
16:30 bdonnahue where are the "config files" located then?  i assumed they were in that directory
16:37 mtompset oh, we don't have bootstrap for the staff client. YAY!
16:40 oleonard it's only about 600 measly templates, I don't know what's holding me up.
16:43 druthb aw, c'mon, oleonard.  That'd be a great Friday afternoon project for ya!
16:44 mtompset I wasn't asking for it.
16:44 mtompset I was being glad it wasn't there.
16:44 oleonard If only there were a wealthy Bootstrap-enthusiast out there who would sponsor an intensive retreat
16:44 druthb hush, mtompset.  BOOTSTRAP ALL THE THINGS!
16:45 mtompset NOOOOOOOOOOO!
16:45 mtompset One theme to rule them all: PROG! ;)
16:45 * druthb pokes mtompset with her pointy stick
16:46 * mtompset snaps her pointy stick in half, fashions two pointy sticks, and keeps one with which to poke druthb back! :P
16:46 * druthb pouts
16:47 jossu joined #koha
16:49 jossu left #koha
16:52 rambutan joined #koha
16:55 * mtompset makes sure druthb gets the other half back.
16:57 * gmcharlt casts fireball, and burns all the point sticks to ashes
16:57 gmcharlt behave! ;)
16:57 magnuse gmcharlt++
16:58 magnuse awesome rm powers!
16:59 cait heh
16:59 cait gmcharlt++ for finding my bug that others couldn#t reproduce :)
17:02 huginn New commit(s) kohagit: Bug 10952: (follow-up) remove mention of KohaOpacRecentSearches cookie <[…]722aaa763ce71d170> / Bug 10952: (follow-up) clear seach history from session after saving it to DB <[…]f408120a1364316a0> / Bug 10952: (follow-up) Always flush session after deletion <
17:03 * oleonard casts firebug, inspects some CSS
17:03 gmcharlt oleonard++
17:07 gaetan_B bye !
17:08 laurence left #koha
17:34 Joubu have a good w-e !
17:34 Joubu bye
17:35 cait bye Joubu
18:04 mtompset Does anyone know how to check if a template toolkit value is a string or numeric?
18:06 oleonard No, but:[…]manual/index.html
18:06 mtompset It wasn't string that I needed to check for, it was defined()... I think I have a solution. :)
18:11 mcooper joined #koha
18:12 ebegin joined #koha
18:13 mtompset Greetings, mcooper ebegin. :)
18:13 ebegin hey mtompset !
18:23 cait joined #koha
18:28 mcooper_ joined #koha
18:29 mtompset ARG! Testing is rather difficult sometimes, when people write test plans as if the tester is actually familiar with how to do the steps they say.
18:37 NateC joined #koha
18:57 tcohen bye #koha, have a nice weekend
19:37 rambutan joined #koha
20:42 mtompset YAY!
20:42 mtompset Really cleaned up the and -- a lot less floody warnings. :)
20:52 NateC joined #koha
20:52 meliss joined #koha
20:53 pablito hi everyone
20:54 pablito I would like to know if I un-import all my records and re-import the same records but with slightly modified data, would I lose my circulation data?
20:55 cait if you delete the items i think so yes
20:56 cait do you have a test database for testing?
20:56 cait hope you are not doing this on production
20:57 pablito i am doing it in a dev
20:58 pablito server
20:58 cait that's good
20:58 cait i think you said earlier you did 2 imports
20:58 cait one added new items
20:58 pablito yes
20:58 cait if you only undid this one it should be ok and leave your old items alone
20:58 cait becasue they were added with a different import
21:00 pablito so originally, my goal is to change the barcode
21:00 pablito of all the records
21:00 cait can you calcualte the barcode?
21:00 cait you can change item data with sql, if you do a full reindex after
21:02 pablito I want to make the control number tag 001 the barcode
21:03 jcamins pablito: what if there are two items?
21:03 pablito well, there is only one item for each record
21:04 pablito that's how I imported the data originally
21:05 jcamins pablito: in that case, the easiest thing to do would be write a script to do it for you.
21:05 pablito yes, can you suggest a template of a script?
21:06 jcamins
21:06 bdonnahue left #koha
21:06 jcamins Or
21:06 jcamins I don't remember exactly what it's called.
21:06 pablito ok
21:07 pablito under what directory is it usually located?
21:07 jcamins Somewhere under misc.
21:08 cait maybe misc maintenance
21:09 jcamins That sounds right.
21:09 oleonard Bye #koha, have a good weekend
21:09 pablito hmm, under misc, I don't have the maintenance folder, the only folder there is "translator"
21:09 cait oleonard++ :)
21:10 cait hm i think you are in the wrong misc directory
21:10 cait if it's a dev install it will be where the sources are
21:10 cait /home/user/koha or similar, not something-dev
21:15 pablito actually, I found it under  /usr/share/koha/bin/maintenance
21:21 pablito it should be safe to do an sql UPDATE in the perl script right?
21:23 jcamins pablito: I'd use ModItem, TBH.
21:23 pablito ok
22:24 cait wow
22:24 cait i'd never htought we still have so many translation problems
22:24 * cait is catching up on mail
22:28 pablito is there a quick and easy way to export circulation data from a production server and import into a dev server?
22:47 gmcharlt pablito: the easiest way would be transferring a copy of the entire database
22:47 gmcharlt transferring "just" circulation would still entail bringing over the linked patrons, items, and bibs
22:49 pablito gmcharlt: how do I export the entire database in koha?
22:51 gmcharlt pablito: if you installed from packages, you can run koha-dump, which will (among other things) put a dump of the database in /var/spool/koha
22:51 gmcharlt if you didn't, you could use mysqldump directly
22:56 ebegin joined #koha
23:00 pianohacker joined #koha
23:04 pablito ok, thanks!
23:23 pianohacker y'ello
23:56 rambutan mello
23:56 rambutan left #koha

| Channels | #koha index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary