IRC log for #koha, 2017-02-16

← Previous day | Today | Next day → | Search | Index

All times shown according to UTC.

Time Nick Message
00:07 Dyrcona joined #koha
01:01 papa joined #koha
01:45 kmlussier joined #koha
03:14 z0k_ joined #koha
03:20 Francesca joined #koha
05:13 Francesca joined #koha
06:06 drojf joined #koha
06:06 drojf hi #koha
06:23 josef_moravec joined #koha
06:39 * magnuse waves
06:39 magnuse moin drojf and josef_moravec
06:40 josef_moravec hello magnuse
06:52 dilan joined #koha
06:52 magnuse wow, poor Christchurch
07:00 LibraryClaire joined #koha
07:06 wizzycray joined #koha
07:06 LibraryClaire morning #koha
07:08 drojf hi LibraryClaire
07:08 hei magnuse
07:10 magnuse guten morgen BüchereiKlara und wizzycray
07:10 LibraryClaire moin drojf
07:10 magnuse @wunder enbo
07:10 huginn magnuse: The current temperature in Bodo, Norway is 3.0°C (7:50 AM CET on February 16, 2017). Conditions: Light Rain Showers. Humidity: 93%. Dew Point: 2.0°C. Windchill: -1.0°C. Pressure: 29.80 in 1009 hPa (Falling).
07:10 magnuse \o/
07:11 LibraryClaire morgen magnuse
07:11 @wunder konstanz
07:11 huginn LibraryClaire: The current temperature in Mainaustraße, Konstanz, Germany is 0.3°C (7:43 AM CET on February 16, 2017). Conditions: Mostly Cloudy. Humidity: 94%. Dew Point: -1.0°C. Windchill: 0.0°C. Pressure: 30.57 in 1035 hPa (Rising).
07:11 LibraryClaire cloudy = fog I can barely see through
07:15 magnuse low hanging clouds
07:27 d_antonakis joined #koha
07:37 dilan joined #koha
07:40 alex_a joined #koha
07:40 alex_a bonjour koha
07:40 LibraryClaire hey alex_a
07:40 alex_a LibraryClaire: \o
07:41 LibraryClaire o/
07:47 AndrewIsh joined #koha
07:58 marcelr joined #koha
07:58 marcelr hi #koha
07:58 LibraryClaire hi marcelr
07:58 marcelr :)
07:58 reiveune joined #koha
07:59 reiveune hello
07:59 marcelr bonjour reiveune
08:05 drojf @wunder berlin, germany
08:05 huginn drojf: The current temperature in Berlin, Berlin, Germany is -3.6°C (8:43 AM CET on February 16, 2017). Conditions: Clear. Humidity: 95%. Dew Point: -4.0°C. Windchill: -4.0°C. Pressure: 30.42 in 1030 hPa (Steady).
08:11 eythian @wunder arena, amsterdam
08:11 huginn eythian: Error: No such location could be found.
08:11 eythian hmm
08:11 @wunder bijlmer, amsterdam
08:11 huginn eythian: Error: HTTP Error 404: Not Found
08:12 eythian you go somewhere else for one day, and huginn forgets all about you.
08:21 cait joined #koha
08:25 paul_p joined #koha
08:27 baptiste joined #koha
08:27 LibraryClaire pretty sure the fog is getting thicker
08:27 @wunder konstanz
08:27 huginn LibraryClaire: The current temperature in Mainaustraße, Konstanz, Germany is 1.1°C (9:16 AM CET on February 16, 2017). Conditions: Light Freezing Fog. Humidity: 95%. Dew Point: 0.0°C. Windchill: 1.0°C. Pressure: 30.54 in 1034 hPa (Steady).
08:27 drojf it's just light freezing
08:27 LibraryClaire light freezing fog is my favourite
08:27 drojf better than dark freezing fog
08:28 LibraryClaire it's quite oppressive
08:30 eythian @wunder ams
08:30 huginn eythian: The current temperature in Amsterdam, Netherlands is 6.0°C (9:25 AM CET on February 16, 2017). Conditions: Partly Cloudy. Humidity: 100%. Dew Point: 6.0°C. Windchill: 3.0°C. Pressure: 30.39 in 1029 hPa (Steady).
08:31 eythian not as nice today as it was yesterday, alas
08:36 fridolin joined #koha
08:41 * cait waves
08:55 marcelr hi cait
08:56 cait: i will check the merge for 16.11 today
08:56 cait thx
08:56 haven't heard from bernardo yet, hope to announce string freeze soon
09:00 Francesca joined #koha
09:03 d_antonakis can I ask sth regarding Pootle?
09:03 Is there a way to change the user permissions in order to prevent other users to overwritte their translations strings?
09:04 Moreover, who knows the procedure to add terminilogy in a specific language?
09:04 alex_a joined #koha
09:05 cait d_antonakis: you can have different permissions - one of them is to allow uploads - is that what you mean?
09:05 best to get in contact with the translation manager
09:05 he will know
09:07 d_antonakis it's not related to uploads. Just about overwritting other user strings in Pootle or to be an alert when a string is overwritten by someone else
09:07 ok cait! ty!
09:20 Joubu Is someone playing on a devbox around?
09:33 josef_moravec Joubu: yep
09:33 kivilahtio bag
09:34 paul_p joined #koha
09:34 Joubu josef_moravec: could you try master + searchengine=elastic + full reindex + search?
09:34 you need to make sure the ES mappings are correctly set by hitting the hidden url
09:35 /admin/searchengine/elasticsearch/mappin​gs.pl?op=reset&i_know_what_i_am_doing=1
09:35 josef_moravec: because I do not get any results on Jessie
09:35 and I do not know if it comes from me or if it is a general issue
09:38 josef_moravec Joubu: now trying, will see
09:41 AndrewIsh Gooood morning #koha
09:41 @wunder machynlleth
09:41 huginn AndrewIsh: The current temperature in Machynlleth, Machynlleth, United Kingdom is 8.8°C (9:40 AM GMT on February 16, 2017). Conditions: . Humidity: 92%. Dew Point: 8.0°C. Windchill: 9.0°C. Pressure: 30.34 in 1027.3 hPa (Falling).
09:42 AndrewIsh I've just been checking the developer docs. What's the situation with creating a UI with functionality that's dependent on JS. Is it necessary to also provide a mechanism that isn't dependent on JS?
09:42 Joubu AndrewIsh: for the OPAC, I think so yes
09:43 for the intranet, no JS is mandatory
09:43 AndrewIsh Joubu:  That was my impression too, so I'm glad you're of the same opinion! :) Thanks
09:43 Joubu comma is misplaced
09:43 AndrewIsh lol, amusing how that sentence is changed with a misplaced comma :)
09:51 josef_moravec Joubu: just provisioned devbox with elastic 1.7, and it is searching ok on elastic
09:51 Joubu josef_moravec: sorry, it was for 5.1
09:51 josef_moravec on biblio index, authorities not
09:52 I'll update, it should be easy with devbox ;)
10:07 stuart joined #koha
10:07 stuart greetings all from New Zealand
10:08 I am hoping to find a suggestion on a problem I have, if anyone is around.
10:08 josef_moravec hello stuart
10:09 try it ;)
10:09 stuart hello :)
10:09 well, I have set up a koha server for a local primary school, and it is working very well.
10:09 however, I need to setup z39.50 access to SCIS, an australian data source for which they have a login.
10:10 so I set up the server configuration, as supplied
10:10 however, when I search for a book, instead of a correct looking entry comping back (for example as I get from library of commerce)
10:11 I get a yellow box saying 'SCIS record 1: 238'
10:11 so, I assume I am missing a vital configuration step :/
10:12 I am quite sure it is talking to the server and authenticating (as I got other faults before I had those parameters correct)
10:13 josef_moravec could you please send a screenshot? I am not sure what kind of "yellow box" od you mean...
10:13 also, are they providing data in MARC21, or UNIMARC?
10:14 stuart to be slightly more correct, I get that yellow horizontal box, AND I get a gray box with 'nothing found'
10:15 unfortunately they do not specify their MARC version.
10:15 what is the easiest way to send a screenshot?
10:15 josef_moravec in firefox use screengrab extension
10:16 stuart I can make one easily, I meant how to send it to you.
10:16 josef_moravec try something from this list: https://www.google.cz/search?c[…]lWI_aJ47EXtP3mfgL
10:19 stuart working on it now..
10:20 https://therugby.net/static/koha1.png
10:20 that is the result of a search
10:21 I believe the item is found, as the result for a random ISBN is just the normal not found box.
10:22 ah, and your suggestion has solved it for me josef!
10:22 I was randomly trying different setups, and MARC21/USMARC works.
10:23 much appreciated.
10:36 fridolin joined #koha
10:36 kidclamp joined #koha
10:36 josef_moravec joined #koha
10:36 * kidclamp waves
10:39 drojf hi kidclamp
10:40 LibraryClaire hi kidclamp
10:41 kidclamp hi drojf LibraryClaire
10:42 LibraryClaire, I just found out I got in the lottery for a 10 mile race - now I actually have to run like for serious
10:43 LibraryClaire haha :D
10:43 kidclamp: those lotterys are dangerous...
10:44 kidclamp: also congrats, when is it? ;)
10:44 drojf @wunder berlin, germany
10:44 huginn drojf: The current temperature in Berlin, Berlin, Germany is 2.7°C (11:18 AM CET on February 16, 2017). Conditions: Clear. Humidity: 93%. Dew Point: 2.0°C. Windchill: 1.0°C. Pressure: 30.39 in 1029 hPa (Steady).
10:45 drojf my phone says 8°
10:45 hmm
10:45 weather conspiracy
10:45 kidclamp May 7th
10:45 LibraryClaire oh that's a good amount of time still
10:46 @wunder konstanz
10:46 huginn LibraryClaire: The current temperature in Mainaustraße, Konstanz, Germany is 4.0°C (11:18 AM CET on February 16, 2017). Conditions: Clear. Humidity: 90%. Dew Point: 2.0°C. Windchill: 4.0°C. Pressure: 30.51 in 1033 hPa (Falling).
10:46 drojf @wunder sxf
10:46 huginn drojf: The current temperature in Berlin Schoenefeld, Germany is 8.0°C (11:20 AM CET on February 16, 2017). Conditions: Clear. Humidity: 62%. Dew Point: 1.0°C. Windchill: 6.0°C. Pressure: 30.39 in 1029 hPa (Steady).
10:46 drojf i guess berlin, berlin, germany is a different berlin then
10:46 LibraryClaire not clear... still fog
10:46 drojf but nice i saw before going out in winter boots
10:47 lügenwetter
10:58 eythian luging in the wet?
10:59 LibraryClaire sounds like a bad idea
11:05 marcelr Joubu: any objections to my second patch on 18124; if not, i will change the calls to { session_id => ... }
11:08 z0k_ joined #koha
11:17 Joubu josef_moravec: ok so for the record, it works if you have a very fresh devbox (    Issue #172: Fix Catmandu::Store::ElasticSearch name
11:17 )
11:17 marcelr Joubu
11:18 Joubu marcelr: yep, reading it :)
11:18 marcelr thx
11:18 i would move the changed calls to a third patch
11:18 Joubu yyD is definitely a vim command typo :)
11:18 marcelr yyG
11:18 yank to the end
11:21 josef_moravec Joubu: i have elastic 5.1 now
11:21 I can index and search biblios
11:22 but can't reproduce bug 18130
11:22 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=18130 major, P5 - low, ---, jonathan.druart, Needs Signoff , ES - Cannot reindex given biblionumbers
11:22 josef_moravec But i have problem searching authorities, did you noticed it?
11:32 Joubu josef_moravec: indeed, with the correct module I do not recreate either 18130
11:33 josef_moravec And is authority searching working for you? Maybe I have bad mapping, bud I did try the magic URL you sent and it's still not working..
11:37 kidclamp does it work if you set the sorting to none josef_moravec?
11:41 josef_moravec kidclamp: it does not return ISE, but still not searching - "no results found"
11:42 an sometimes still ISE: Invalid marclist field provided: all at /home/vagrant/kohaclone/Koha/SearchE​ngine/Elasticsearch/QueryBuilder.pm line 422.
11:42 Koha::SearchEngine::Elasticsearch::QueryBuilder::​build_authorities_query_compat(Koha::SearchEngine​::Elasticsearch::QueryBuilder=HASH(0x13a00288), ARRAY(0x139f4638), ARRAY(0x139e9680), ARRAY(0x13a36048), ARRAY(0x139e9770), ARRAY(0x13a25518), "", "") called at /home/vagrant/kohaclone/auth​orities/authorities-home.pl line 86
11:43 kidclamp yeah, authority searching needs some attention
11:43 Joubu same for me
11:43 "Fielddata is disabled on text fields by default"
11:44 kidclamp Joubu - to see holdingbranch facet use the DisplayLibraryFacets
11:44 system preference
11:44 wahanui i guess system preference is not the way to do it.
11:44 Joubu kidclamp: yes, it is set to "both"
11:44 I tried both and holdingbranch
11:44 kidclamp erk
11:45 worked for me :/
11:45 Joubu ok forget that
11:45 kidclamp I forgot that
11:45 Joubu mappings were not reset
11:48 eythian kidclamp: you're slipping, if you keep making mistakes like that people will know that you are really wahanui
11:49 Joubu :)
11:50 kidclamp: something else, on bug 17169 I am expecting to see the lib, not the code
11:50 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=17169 enhancement, P5 - low, ---, nick, Signed Off , Add facets for ccode and language to elasticsearch
11:50 kidclamp sorry eythian, I don't know
11:50 eythian wahanui: kidclamp is an infobot.
11:50 wahanui ...but kidclamp is rockin the stache|<reply>kidclamp is clamping kids. Poor kids....
11:50 kidclamp Joubu, indeed - see "work to be done"
11:50 eythian wahanui: kidclamp is also an infobot.
11:50 wahanui okay, eythian.
11:51 * kidclamp clamp clamp clamp
11:51 * Joubu should read commit messages until the end..
11:52 kidclamp now that we upgraded ES I shoudl follow up there
11:53 Joubu kidclamp: commented on the bug, but I do not think it can be push if it displays code
11:53 kidclamp agreed - that was just me doing to work to figure out 'how' to add a facet
11:54 cait joined #koha
11:57 drojf joined #koha
11:58 tcohen joined #koha
12:02 tcohen morning
12:02 marcelr hi tcohen
12:03 tcohen hey marcelr
12:03 do u remember which release got your Upload.pm replaced?
12:03 marcelr remember :)
12:04 not sure
12:04 but this release has Uploader.pm
12:05 tcohen it is in master, and not in 16.11 i think
12:05 thanks
12:05 nice job btw
12:05 marcelr yes
12:05 oops
12:06 tcohen: can you qa the followup for the debian scripts?
12:06 fridolin left #koha
12:06 marcelr you're the expert
12:06 tcohen good idea
12:06 in about an hour I can
12:06 marcelr that would be fantastic indeed
12:12 Joubu I started QAing it 2 days ago, I can continue...
12:14 marcelr Joubu: bug 16749
12:14 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=16749 enhancement, P5 - low, ---, m.de.rooy, Signed Off , Additional fixes for debian scripts
12:14 marcelr i dont mind who does the qa, as long as some one does
12:14 :)
12:19 francharb good moring all
12:20 good morning all
12:20 LibraryClaire hi francharb
12:20 Joubu marcelr: Given the number of patches from me waiting for QA, I'd prefer other QAers to focus on them ;)
12:20 Salut francharb!
12:21 francharb 0/ LibraryClaire Joubu
12:21 marcelr Joubu: i will qa some patches from you tomorrow. but still testing the security patch
12:22 ping tcohen
12:22 he left?
12:24 drojf fyi: master packages will be broken until 16749 is pushed
12:26 marcelr drojf: i have hope now that Joubu or tcohen is looking today
12:32 Joubu baptiste: There is something wrong on bug 15408
12:32 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=15408 enhancement, P5 - low, ---, baptiste.wojtkowski, Failed QA , Timestamp not updated when you duplicate a budget
12:33 Joubu baptiste: you obsoleted the other patches
12:37 jzairo joined #koha
12:37 marcelr josef_moravec: is your index up again?
12:38 for a retry of the DelAuthority bug?
12:38 josef_moravec I have new devbox I'll try ;)
12:38 marcelr great
12:39 josef_moravec marcelr: but probably tomorow, not today...
12:39 marcelr ok
12:40 oleonard joined #koha
12:41 magnuse oleonard! druthb!
12:41 oleonard Hi
12:42 druthb magnuse!  oleonard!
12:48 meliss joined #koha
12:48 AdamB joined #koha
12:50 alex_a joined #koha
12:51 Joubu marcelr: koha-translate: I think we should make sure the instance exists (calling is_instance)
12:52 tcohen joined #koha
13:02 marcelr Joubu: looks good to me
13:03 oleonard barton: You added this section to the SQL reports library? https://wiki.koha-community.or[…]rts_Library#Links
13:03 Joubu marcelr: just let a comment about something else, could you take a look?
13:04 barton oleonard: yes.
13:04 oleonard barton++
13:04 Really useful
13:04 marcelr Joubu: where
13:05 Joubu marcelr: refresh, got a collision
13:05 with myself...
13:06 marcelr that may happen..
13:06 LibraryClaire barton++
13:09 marcelr Joubu: is dev_install the name of your instance?
13:10 Joubu nope
13:10 marcelr i thought so; whats the problem then?
13:10 magnuse barton++
13:11 marcelr its a wrong instance name; you cannot find the kohaconf
13:11 and the error shows you
13:11 tcohen hi Joubu
13:11 marcelr more or less
13:11 Joubu marcelr: We should not get an error, before the patchset, there is not error
13:11 marcelr tcohen: Joubu is alreadu looking
13:11 tcohen alright!
13:11 Joubu just nothing happens, we should get the help
13:11 fridolin joined #koha
13:12 marcelr Joubu: we could add a test, but I thought it was not really usefuk
13:12 l
13:12 any more
13:12 barton look is you are in a maze of twisty passages, all alike.
13:12 Joubu marcelr: "failed to load external entity "/etc/koha/sites/dev_install/koha-conf.xml"" is definitely confusing, especially because "dev_install" is not related to anything :)
13:12 unless the entry in the conf file
13:13 marcelr but dev_install comes from your command line
13:13 Joubu nope, my cmd line is `sudo koha-rebuild-zebra`
13:13 marcelr ok
13:13 thats more weird
13:14 Joubu marcelr: if you do not recreate, I can take a look
13:14 marcelr ill check this again
13:16 nengard joined #koha
13:16 Joubu marcelr: from adjust_paths_dev_install, it calls run_safe_xmlstarlet $instancename dev_install
13:16 but $instancename is not defined, then pick 'dev_install'
13:17 marcelr hmm
13:17 yes
13:17 should add a check on instancename
13:18 stupid bash
13:28 fridolin left #koha
13:36 marcelr Joubu: the followup does another is_instance, so could make your change in koha-translate duplicate
13:36 josef_moravec left #koha
13:47 Joubu baptiste: if 15408 is now ready to be tested, you must switch the status to "needs signoff" to let people know that they can test it
13:47 baptiste: the commit messages of the patches must start with "Bug XXXXX: "
13:48 baptiste: A page to read and bookmark: https://wiki.koha-community.or[…]ubmitting_A_Patch
13:53 marcelr: do you remember why you search for ^- ?
13:53 if echo $1 | egrep -q "^[^-]"; then
13:53 eythian Joubu: that searches for "not -"
13:53 marcelr yes two parameters in a row like -dev -something else
13:54 i expect an instance not to start with -
13:55 Joubu marcelr: just before that call there is
13:55 274             if [ $# -lt 2 ]; then
13:55 275                 die "Error: dev parameter without instance"
13:55 marcelr ok it might be unneeded
13:55 eythian @wunder ams
13:55 huginn eythian: The current temperature in Amsterdam, Netherlands is 9.0°C (2:25 PM CET on February 16, 2017). Conditions: Partly Cloudy. Humidity: 82%. Dew Point: 6.0°C. Pressure: 30.36 in 1028 hPa (Steady).
13:55 marcelr could have added preceding statement later or so
13:55 cait joined #koha
13:57 Joubu Those batch scripts are really hard to maintain...
13:59 marcelr bash is harder than perl
13:59 even be careful with bash and dash (sh)
14:03 Joubu marcelr: I have the feeling that we should die somewhere if $instancename is not an instance
14:03 every script does their own check
14:03 anyway, out of scope for this one
14:03 marcelr yeah but we should not fix every issue now
14:03 i have some more wishes :)
14:04 Joubu but the koha-translate double check for is_instance is needed
14:04 marcelr the hardcoded path to /usr/share/koha/bin is one of them..
14:04 np let it stay
14:04 2>0
14:07 kmlussier joined #koha
14:08 JoshB joined #koha
14:10 magnuse the debian scripts must be getting pretty awesome now :-)
14:11 marcelr magnuse: all that trouble
14:12 Joubu++
14:13 talljoy joined #koha
14:13 kellym joined #koha
14:14 Joubu @later rangi Hi! Waiting for you on bug 17840
14:14 huginn Joubu: I'll give you the answer just as soon as RDA is ready
14:14 Joubu @later tell rangi Hi! Waiting for you on bug 17840
14:14 huginn Joubu: The operation succeeded.
14:14 TGoat joined #koha
14:14 Joubu pff, always forget
14:16 edveal left #koha
14:16 NateC joined #koha
14:19 tcohen joined #koha
14:23 koha joined #koha
14:23 Dyrcona joined #koha
14:24 kchris joined #koha
14:34 baptiste Joubu, is ok, I think I have amended the involved commit messages and read your page, sorry for this fails
14:35 Joubu no worries, others will come :D
14:51 pastebot "tcohen" at 172.22.66.163 pasted "Joubu: this is my command" (11 lines) at http://paste.koha-community.org/314
14:52 "tcohen" at 172.22.66.163 pasted "Joubu: this is my command" (10 lines) at http://paste.koha-community.org/315
14:54 kholt joined #koha
14:54 JesseM joined #koha
14:59 meliss joined #koha
15:07 Joubu bug 17933 is a major I cannot QA
15:07 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=17933 major, P1 - high, ---, dpavlin, Signed Off , Internal software error when searching patron without birth date
15:08 Joubu bug 18111 must be pushed before the next stable releases
15:08 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=18111 major, P5 - low, ---, jonathan.druart, Needs Signoff , Import default framework is broken
15:39 CrispyBran joined #koha
15:45 jac joined #koha
15:50 LibraryClaire laters #koha
15:50 LibraryClaire left #koha
15:57 jbeno joined #koha
16:02 reiveune bye
16:02 reiveune left #koha
16:12 LibraryClaire joined #koha
16:42 khall joined #koha
17:05 rocio joined #koha
17:07 Gabor joined #koha
17:08 Gabor Hi, I would have a question...
17:09 gabpalko joined #koha
17:10 gabpalko Hi, I would need some help...
17:16 Does anyone know how can I reach authority records through any protocol? OAI PMH, REST does not seem to work, they only list bib records.
17:43 tcohen joined #koha
17:57 larryb joined #koha
18:33 tcohen joined #koha
18:34 tcohen1 joined #koha
19:00 ashimema joined #koha
19:46 kathryn joined #koha
19:48 Francesca joined #koha
19:53 Stompro joined #koha
19:55 alexbuckley joined #koha
20:00 jorgedec joined #koha
20:27 wizzycray hi
20:27 wahanui hey, wizzycray
20:27 wizzycray long shot, joubu about?
20:27 LibraryClaire hi wizzycray
20:27 wizzycray hallo :)
20:28 LibraryClaire I think he's away
20:28 wizzycray yeah I figured, it was a very long shot
20:28 larryb_DND left #koha
20:34 Francesca joined #koha
20:54 cait joined #koha
20:54 Francesca joined #koha
21:46 magnuse joined #koha
21:53 meliss left #koha
22:33 CrispyBran Any programmers here I can bug for a moment?
22:34 wizzycray ah just ask if someone can answer they will :)
22:35 CrispyBran When a koha page loads, it uses variables to populate information on the screen.  Is it possible to reference those variables from jquery?
22:36 dcook O_o
22:38 CrispyBran: Could you clarify what you man by "it uses variabls to populate information on the screen"?
22:39 @later tell tcohen Interesting. Honestly, I'm overloaded with work at the moment, so I don't have much in terms of commentary.
22:39 huginn dcook: The operation succeeded.
22:39 kellym joined #koha
22:41 CrispyBran For example, member-password.pl places the firstname and surname on the screen in a couple places.  I would like to grab the surname, but because this information is blended together, there is no reliable way to get the last name from those elements.  So, I was wondering if there would be some other method to "get" the surname.  Such as, are the template params used on that page accessable, or is gone by the time the page is produced?
22:43 125 $template->param(
22:43 126     othernames                 => $bor->{'othernames'},
22:43 127     surname                    => $bor->{'surname'},
22:44 wizzycray You can use jquery with stuff that is in the DOM at the time that it runs
22:44 (somebody please correct that if it's wrong)
22:44 CrispyBran And how do I know what is in the DOM?
22:45 wizzycray using the inspector in your browser
22:45 or ctrl u
22:45 dcook CrispyBran: member-password.pl just generates a HTML page and sends that to your browser
22:46 The browser parses that into a DOM structure
22:46 The browser executes javascript/jquery, and that has access to the DOM contained in the browser
22:46 wizzycray ^
22:47 you can't access the template variables directly as far as I am aware.
22:47 unless they are being passed to the DOM by themselves in a structure you can target
22:49 CrispyBran bummer.  That's what I was afraid of.
22:49 Thanks
22:50 wizzycray of course you can teach Koha  a new trick and make them available to you, but at that point you probably wouldn't be using jquery :)
22:51 CrispyBran Yeah, I am not ready to monkey with koha code
22:57 dcook CrispyBran: I haven't looked at the template, but you'd want to look at member-password.tt or whatever the equivalent is
22:58 If it's like "<p>Firstname Surname</p>", you could change it to "<p><span id="member_firstname">Firstname</span> <span id="member_surname">Surname</span></p>"
22:59 Then use jquery with a selector like "span#member_surname"
22:59 Although at that point, I'd ask what you're trying to accomplish overall :p
22:59 CrispyBran yeah, monkeying with the files is not my thing just yet.
23:00 I was trying to use jquery to create a reset button for the password.  But I can't get specific enough with patron information.
23:02 dcook A reset button for the password?
23:04 CrispyBran Yes.  We base passwords off pieces of patron data.  Patrons can change their passwords, but sometimes they forget, and we have to reset their password.  I was trying to see if I could grab patron data and populate the password fields.  But that isn't going to happen.
23:09 dcook I've been thinking a little about that. How some libraries will use parts of your address or phone number.
23:09 I think a totally random password is probably better though :p
23:09 wizzycray CrispyBran, it won't happen with jquery for sure
23:09 CrispyBran yep
23:10 wizzycray yeah I am deeply skeptical of using any part of known data for a password
23:10 dcook ^
23:10 wizzycray because someone could figure out your algorithm and boom they've got a login
23:10 I know libraries do it, I'm here to tell you that they shouldn't.
23:10 CrispyBran Does koha have a "Forgot your password?" feature yet?
23:10 wizzycray yep
23:11 since 16.05 at least.
23:11 maybe 3.22 I can't remember
23:11 CrispyBran We're in 3.22
23:11 dcook I can't remember when it got in either, but I seem to recall it has
23:11 wizzycray it completely does
23:11 dcook I rolled my own years ago, but I'll be glad to replace it with the stock standard one
23:11 wizzycray it is absolutely there in the current and at least one version back
23:12 maybe 2
23:12 there will be a syspref for it
23:14 CrispyBran Yep...OpacResetPassword.  Not in 3.22.
23:36 kholt left #koha
23:48 CrispyBran When creating a new account in Koha, does Koha generate a default username and password, or do staff have to enter that info?
23:50 dcook I think if you don't include them, it will generate a default username at least
23:50 Not sure about the password
23:55 JoshB left #koha

← Previous day | Today | Next day → | Search | Index

koha1