[Koha-devel] Koha 21.05.15 release

2022-05-29 Thread Andrew Fuerste-Henry
The Koha community is pleased to announce the release of version 21.05.15.

For full release notes, please visit
https://koha-community.org/koha-version-21-05-15-released/

Thanks!

-- 
Andrew Fuerste-Henry
Educator
(he/they)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha?
<http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


[Koha-devel] Koha 21.05.14 Release

2022-04-26 Thread Andrew Fuerste-Henry
The Koha community is proud to announce the release of version 21.05.14.
This is a maintenance release and contains bug fixes.

For full details and release notes, please see
https://koha-community.org/koha-version-21-05-14-released/

Thanks!
Andrew

-- 
Andrew Fuerste-Henry
Educator
(he/they)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha?
<http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


[Koha-devel] Koha 21.05.13 released

2022-03-24 Thread Andrew Fuerste-Henry
The Koha community is proud to announce the release of version 21.05.13.
This is a maintenance release and contains many bug fixes and enhancements.

As always you can download the release from:
https://download.koha-community.org

Thank you very much to everyone involved in this release.

For further details, please see this blog post
<https://koha-community.org/koha-version-21-05-13-released/>.
-- 
Andrew Fuerste-Henry
Educator
(he/they)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha?
<http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


[Koha-devel] Koha 21.05.11 Released

2022-02-22 Thread Andrew Fuerste-Henry
The Koha community is proud to announce the release of version 21.05.11!

You can see the full release notes here:

https://koha-community.org/koha-21-05-11-released/

As always you can download the release from:
https://download.koha-community.org

Thank you very much to everyone involved in this release!

-- 
Andrew Fuerste-Henry
Educator
(he/they)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha?
<http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


[Koha-devel] Koha version 21.05.10 released

2022-02-09 Thread Andrew Fuerste-Henry
Hello Koha!
The Koha community is proud to announce the release of version 21.05.10.
This is a maintenance release to correct an error in 21.05.09.

You can see the release notes here:
https://koha-community.org/koha-21-05-10-released/

Or you can see the bug detailing the error here:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30065

Thanks!
Andrew
-- 
Andrew Fuerste-Henry
Educator
(he/they)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha?
<http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


Re: [Koha-devel] Listing Zebra (and Elasticsearch) indexes for end-users' benefit

2021-09-08 Thread Andrew Fuerste-Henry
Hi all!

For what it's worth, there is a list of Zebra indexes in the manual:
https://koha-community.org/manual/latest/en/html/searching.html#koha-search-indexes.
I'm all for a fun tool that shows them within Koha, but it'd also be great
if the manual were up to date.

Speaking of showing search indexes right in the Koha staff client, Elastic
already does that. The Search Engine Config page in administration shows
you exactly how all of your MARC data is indexed for Elastic. It would
totally make sense to rework this to also be able to show Zebra values.

Andrew

On Wed, Sep 8, 2021 at 3:49 AM Fridolin SOMERS 
wrote:

> Hi, sounds nice.
>
> FIY I am actually using a transformation of Zebra config in order to
> present it in CSV:
>
> https://git.biblibre.com/biblibre/tools/src/branch/master/zebra/list_indexes.xsl
>
> We may use this to display in HTML.
>
> Best regards,
>
> Le 18/08/2021 à 17:12, dc...@prosentient.com.au a écrit :
> > Hi all,
> >
> > As always, a new day brings a new Zebra idea.
> >
> > One of my librarians asked me if there was any way to get a list of
> > Zebra indexes (particularly for Record Matching Rules), and I was all
> > prepared to say no… when I remembered something I read the other day.
> >
> > It turns out you can send the query "@attr exp1 1=1 attributedetails" to
> > the magical database “IR-explain-1”, and it will give you a list of all
> > the indexes in that database along with the type of index and how many
> > documents are indexed against that index in the database. I think this
> > is something that we should add to Koha!
> >
> > I’m not familiar with Koha’s use of Elasticsearch, but I imagine there
> > is an easy way of getting a list of Elasticsearch indexes?
> >
> > --
> >
> > Of course, while having a list of indexes is good, it would be nice to
> > know what MARC data is in each of those indexes. I’m thinking about
> > creating a Koha Plugin that parses "biblio-koha-indexdefs.xml" and shows
> > a user-friendly view of what parts of the MARC record are put into which
> > indexes.
> >
> > --
> >
> > What do folk think about that? I think having a list of Zebra indexes
> > would be very useful for Record Matching Rules, but also for a “Search
> > tips” guide for the Staff Interface and OPAC.
> >
> > While we could provide a static list of indexes, but I think that would
> > be too much of a maintenance burden. I think having a list from Zebra
> > (or Elasticsearch), which we could cache in Memcached, would be the way
> > to go.
> >
> > Ideally, we could have an API route that surfaces this information, so
> > that we could just do an AJAX lookup from a web interface.
> >
> > --
> >
> > I’m hoping my librarian will sponsor development of a plugin, but I
> > think this would be useful in the core Koha code.
> >
> > David Cook
> >
> > Senior Software Engineer
> >
> > Prosentient Systems
> >
> > Suite 7.03
> >
> > 6a Glen St
> >
> > Milsons Point NSW 2061
> >
> > Australia
> >
> > Office: 02 9212 0899
> >
> > Online: 02 8005 0595
> >
>
> --
> Fridolin SOMERS 
> Software and system maintainer 濾
> BibLibre, France
> ___
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
>


-- 
Andrew Fuerste-Henry
Educator
(he/they)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha?
<http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


[Koha-devel] Release of Koha 20.05.12

2021-05-25 Thread Andrew Fuerste-Henry
Hi all!

The Koha community is pleased to announce the release of Koha 20.05.12!
The full release notes can be found here:
https://koha-community.org/koha-20-05-12-released/

Thanks!
Andrew

-- 
Andrew Fuerste-Henry
Educator
(he/him/his)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha? <http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


[Koha-devel] Release of Koha 20.05.11

2021-04-26 Thread Andrew Fuerste-Henry
Hi all!
We're proud to announce the release of Koha 20.05.11. This is a maintenance
release.

Full release notes can be found here:
https://koha-community.org/koha-20-05-11-released/

Debian packages should be available in a few days.
Thank you!
-- 
Andrew Fuerste-Henry
Educator
(he/him/his)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha? <http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


[Koha-devel] Release of Koha 20.05.10

2021-03-23 Thread Andrew Fuerste-Henry
Hi all!
The Koha community is pleased to announce the release of Koha 20.05.10.
This is a bugfix/maintenance release. It includes 1 enhancements, 40
bugfixes.

Full release notes are available here:
https://koha-community.org/koha-20-05-10-released/

Thanks!
Andrew

Andrew Fuerste-Henry
Educator
(he/him/his)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha? <http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


[Koha-devel] Release of Koha 20.05.09

2021-02-23 Thread Andrew Fuerste-Henry
Hi folks!
The Koha community is pleased to announce the release of Koha 20.05.09.
This is a bugfix/maintenance release that includes 2 security fixes, 1 new
features, 13 enhancements, 63 bugfixes.
Due to those security bugs, a speedy upgrade is encouraged!

Full release notes are available here:
https://koha-community.org/koha-20-05-09-released/

Thanks!

Andrew Fuerste-Henry
Educator
(he/him/his)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha? <http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


Re: [Koha-devel] Testing Docker Issue

2021-02-17 Thread Andrew Fuerste-Henry
Thanks for the feedback, all. Docker commands are definitely something I
could stand to learn more about!
Andrew

On Sun, Feb 14, 2021 at 4:05 PM  wrote:

> I would be careful using “docker volumes prune -f” as that’s a nuclear
> option. Easy to lose volumes that you don’t want to lose, if you use Docker
> for anything other than KTD, when using that command.
>
>
>
> David Cook
>
> Software Engineer
>
> Prosentient Systems
>
> Suite 7.03
>
> 6a Glen St
>
> Milsons Point NSW 2061
>
> Australia
>
>
>
> Office: 02 9212 0899
>
> Online: 02 8005 0595
>
>
>
> *From:* Koha-devel  *On
> Behalf Of *Agustin Moyano
> *Sent:* Saturday, 13 February 2021 2:36 AM
> *To:* Jonathan Druart 
> *Cc:* koha-devel 
> *Subject:* Re: [Koha-devel] Testing Docker Issue
>
>
>
> Hi Andrew, if database persists after restarting ktd, you can do:
>
>
>
> docker system prune -f
>
>
>
> and
>
>
>
> docker volumes prune -f
>
>
>
> The first command will remove any container that's not actually running,
> and the second will remove any persistent volume that's not attached to a
> running container.
>
>
>
> Cheers.
>
>
>
> On Fri, Feb 12, 2021 at 6:01 AM Jonathan Druart <
> jonathan.dru...@bugs.koha-community.org> wrote:
>
> I pushed bug 25026 (RaiseError must be set for the UI) a couple of
> days ago, and a related misc4dev's merge request has also been merged
> at the same time
> (https://gitlab.com/koha-community/koha-misc4dev/-/issues/52).
>
> Can you make sure you "docker-compose pull" before and that
> /kohadevbox/misc4dev HEAD is b300d83 (Issue #52 - Prevent SQL errors
> to stop the reset_all process)?
>
>
> Le jeu. 11 févr. 2021 à 18:03, Andrew Fuerste-Henry
>  a écrit :
> >
> > Hi folks!
> > A couple of us within ByWater have run into testing docker issues
> recently. When trying to start up testing docker on master, one gets a
> bunch of SQL errors before the koha process just dies. It seems to be ok
> with starting up on a different branch and then switching to master after
> the fact.
> > Has anyone else seen this?
> >
> > --
> > Andrew Fuerste-Henry
> > Educator
> > (he/him/his)
> > ByWater Solutions
> > bywatersolutions.com
> > Phone:(888)900-8944
> >
> > What is Koha?
> > ___
> > Koha-devel mailing list
> > Koha-devel@lists.koha-community.org
> > https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> > website : https://www.koha-community.org/
> > git : https://git.koha-community.org/
> > bugs : https://bugs.koha-community.org/
> ___
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
>
> ___
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
>


-- 
Andrew Fuerste-Henry
Educator
(he/him/his)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha? <http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


Re: [Koha-devel] Testing Docker Issue

2021-02-11 Thread Andrew Fuerste-Henry
Digging through the terminal, the errors I was getting were related to some
new tables created in a bug I was testing. They somehow persisted after a
git reset --hard and a reset_all.

On Thu, Feb 11, 2021 at 1:42 PM Tomas Cohen Arazi 
wrote:

> I had issues with reset_all as well. It is some latest changes on the db
>
> El jue., 11 feb. 2021 15:32, Jonathan Druart <
> jonathan.dru...@bugs.koha-community.org> escribió:
>
>> Which errors do you get?
>>
>> Le jeu. 11 févr. 2021 à 18:03, Andrew Fuerste-Henry <
>> and...@bywatersolutions.com> a écrit :
>>
>>> Hi folks!
>>> A couple of us within ByWater have run into testing docker issues
>>> recently. When trying to start up testing docker on master, one gets a
>>> bunch of SQL errors before the koha process just dies. It seems to be ok
>>> with starting up on a different branch and then switching to master after
>>> the fact.
>>> Has anyone else seen this?
>>>
>>> --
>>> Andrew Fuerste-Henry
>>> Educator
>>> (he/him/his)
>>> ByWater Solutions
>>> bywatersolutions.com
>>> Phone:(888)900-8944 <(888)%20900-8944>
>>>
>>> What is Koha? <http://bywatersolutions.com/what-is-koha/>
>>> ___
>>> Koha-devel mailing list
>>> Koha-devel@lists.koha-community.org
>>> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>>> website : https://www.koha-community.org/
>>> git : https://git.koha-community.org/
>>> bugs : https://bugs.koha-community.org/
>>>
>> ___________
>> Koha-devel mailing list
>> Koha-devel@lists.koha-community.org
>> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : https://www.koha-community.org/
>> git : https://git.koha-community.org/
>> bugs : https://bugs.koha-community.org/
>>
>

-- 
Andrew Fuerste-Henry
Educator
(he/him/his)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha? <http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


[Koha-devel] Testing Docker Issue

2021-02-11 Thread Andrew Fuerste-Henry
Hi folks!
A couple of us within ByWater have run into testing docker issues recently.
When trying to start up testing docker on master, one gets a bunch of SQL
errors before the koha process just dies. It seems to be ok with starting
up on a different branch and then switching to master after the fact.
Has anyone else seen this?

-- 
Andrew Fuerste-Henry
Educator
(he/him/his)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha? <http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


[Koha-devel] Release of Koha 20.05.08

2021-01-22 Thread Andrew Fuerste-Henry
Hi folks!

The Koha community is proud to announce the release of Koha 20.05.08!

Koha 20.05.08 is a bugfix/maintenance release.
It includes 4 enhancements, 35 bugfixes.

The full release notes can be found here:
https://koha-community.org/koha-20-05-08-released/

-- 
Andrew Fuerste-Henry
Educator
(he/him/his)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha? <http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


Re: [Koha-devel] Rancor/Advanced MARC Editor templates?

2020-07-27 Thread Andrew Fuerste-Henry
Hi David,

When I said “Visibility for the regular editor is really determining
whether or not a field is available at all” I meant just what you said in
your email: when creating a new record, it only shows you the fields marked
as visible in the editor. From what you've said here and over on your bug,
it seems like we're more or less on the same page, vocabulary confusion
aside.

Andrew

On Sun, Jul 26, 2020 at 6:21 PM  wrote:

> Hi Andrew,
>
>
>
> I’m not sure what you mean by “Visibility for the regular editor is really
> determining whether or not a field is available at all”. Visibility should
> govern whether a subfield appears in the OPAC, Staff Interface, or Editor.
> If opening an existing record and there is data there, it’ll show it
> regardless of Visibility. If creating a new record, then it will only show
> the fields/subfields marked as Visible in the Editor. Unfortunately, the
> sample frameworks show pretty much everything in the Editor, which would
> spam unsuspecting users of Rancor. But we could workaround that (ie system
> preference so Visibility isn’t used for existing installs, but becomes the
> default for new installs).
>
>
>
> I don’t love the macros as templates idea, but it might be worth trying.
> I’d like a solution for 19.11, but maybe I could have the library in mind
> use the in-browser macros for the time being.
>
>
>
> David Cook
>
> Systems Librarian
>
> Prosentient Systems
>
> 72/330 Wattle St
>
> Ultimo, NSW 2007
>
> Australia
>
>
>
> Office: 02 9212 0899
>
> Online: 02 8005 0595
>
>
>
> *From:* Andrew Fuerste-Henry 
> *Sent:* Friday, 24 July 2020 10:35 PM
> *To:* dc...@prosentient.com.au
> *Cc:* koha-devel 
> *Subject:* Re: [Koha-devel] Rancor/Advanced MARC Editor templates?
>
>
>
> Hi David,
>
>
>
> I put this on your bug as well, but Visibility for the regular editor is
> really determining whether or not a field is available at all. That's a
> pretty different question than whether or not you're offered a sort of
> stub/reminder tag on a blank record in Rancor. As you say, I think a lot of
> folks would find it quite disruptive to suddenly have everything marks as
> visible in editor suddenly show as a blank tag in a new Rancor record.
>
>
>
> If you're poking around at marking tags and subfields mandatory in Rancor,
> you might want to be aware of bug 25962, subfields aren't enforced as
> mandatory unless the tag is also mandatory:
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25962
>
>
>
> Macros have been moved from the browser cache to the database proper in
> 20.05, so they would be sharable as templates:
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17268
>
>
>
> Thanks!
>
> Andrew
>
>
>
>
>
> On Thu, Jul 23, 2020 at 6:52 PM  wrote:
>
> Hi Andrew,
>
>
>
> I think that I’ve figured out how the editor works. The relevant code is
> at the bottom of my email.
>
>
>
> For new record, it looks like the advanced editor includes the tag if it’s
> marked as “mandatory” or if the “allTags” parameter is true.
>
>
>
> I did a little test and marking 500 as “mandatory” made it appear in the
> editor (with this path /cgi-bin/koha/cataloguing/editor.pl#new/).
> However, you get an error “Incorrect syntax, cannot save” “Tag has no
> subfields” if you try to save the record without putting in any subfields
> for the 500 field. This is problematic since it’s normal for a template to
> have show optional fields, which act as prompts to the cataloguer.
>
>
>
> Using this path (/cgi-bin/koha/cataloguing/editor.pl#new-full/),
> absolutely everything in the framework gets shown in the editor, and that’s
> no good either.
>
>
>
> Really we should be using the “Editor” “visibility” instead of “mandatory”
> for this FillRecord function. Of course, that is defined at the subfield
> level, which makes the logic a bit trickier.
>
>
>
> Moreover, if we change the behaviour now, users might be shocked to see
> their new record view change dramatically after upgrading Koha. Something
> to think about. I’ve opened
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26055 to
> explore this further.
>
>
>
> --
>
> ./koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc
>
> 'new': {
>
> titleForRecord: _("Editing new record"),
>
> get: function( id, callback ) {
>
> record = new MARC.Record();
>
> KohaBackend.FillRecord( '', record );
>
>
>
> callback( record );
>
> },
>
> },
>
>
>
> "k

Re: [Koha-devel] Rancor/Advanced MARC Editor templates?

2020-07-24 Thread Andrew Fuerste-Henry
Hi David,

I put this on your bug as well, but Visibility for the regular editor is
really determining whether or not a field is available at all. That's a
pretty different question than whether or not you're offered a sort of
stub/reminder tag on a blank record in Rancor. As you say, I think a lot of
folks would find it quite disruptive to suddenly have everything marks as
visible in editor suddenly show as a blank tag in a new Rancor record.

If you're poking around at marking tags and subfields mandatory in Rancor,
you might want to be aware of bug 25962, subfields aren't enforced as
mandatory unless the tag is also mandatory:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25962

Macros have been moved from the browser cache to the database proper in
20.05, so they would be sharable as templates:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17268

Thanks!
Andrew


On Thu, Jul 23, 2020 at 6:52 PM  wrote:

> Hi Andrew,
>
>
>
> I think that I’ve figured out how the editor works. The relevant code is
> at the bottom of my email.
>
>
>
> For new record, it looks like the advanced editor includes the tag if it’s
> marked as “mandatory” or if the “allTags” parameter is true.
>
>
>
> I did a little test and marking 500 as “mandatory” made it appear in the
> editor (with this path /cgi-bin/koha/cataloguing/editor.pl#new/).
> However, you get an error “Incorrect syntax, cannot save” “Tag has no
> subfields” if you try to save the record without putting in any subfields
> for the 500 field. This is problematic since it’s normal for a template to
> have show optional fields, which act as prompts to the cataloguer.
>
>
>
> Using this path (/cgi-bin/koha/cataloguing/editor.pl#new-full/),
> absolutely everything in the framework gets shown in the editor, and that’s
> no good either.
>
>
>
> Really we should be using the “Editor” “visibility” instead of “mandatory”
> for this FillRecord function. Of course, that is defined at the subfield
> level, which makes the logic a bit trickier.
>
>
>
> Moreover, if we change the behaviour now, users might be shocked to see
> their new record view change dramatically after upgrading Koha. Something
> to think about. I’ve opened
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26055 to
> explore this further.
>
>
>
> --
>
> ./koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc
>
> 'new': {
>
> titleForRecord: _("Editing new record"),
>
> get: function( id, callback ) {
>
> record = new MARC.Record();
>
> KohaBackend.FillRecord( '', record );
>
>
>
> callback( record );
>
> },
>
> },
>
>
>
> "koha-tmpl/intranet-tmpl/lib/koha/cateditor/koha-backend.js"
>
> FillRecord: function( frameworkcode, record, allTags ) {
>
> $.each( _frameworks[frameworkcode], function( undef, tag ) {
>
> var tagnum = tag[0], taginfo = tag[1];
>
>
>
> if ( taginfo.mandatory != "1" && !allTags ) return;
>
>
>
> var fields = record.fields(tagnum);
>
>
>
> if ( fields.length == 0 ) {
>
> var newField = new MARC.Field( tagnum, ' ', ' ', [] );
>
> fields.push( newField );
>
> record.addFieldGrouped( newField );
>
>
>
> if ( tagnum < '010' ) {
>
> newField.addSubfield( [ '@', (taginfo.subfields[0]
> ? taginfo.subfields[0][1].defaultvalue : null ) || '' ] );
>
> return;
>
> }
>
> }
>
>
>
> $.each( taginfo.subfields, function( undef, subfield ) {
>
> var subfieldcode = subfield[0], subfieldinfo =
> subfield[1];
>
>
>
> if ( subfieldinfo.mandatory != "1" &&
> !subfieldinfo.defaultvalue && !allTags ) return;
>
>
>
> $.each( fields, function( undef, field ) {
>
> if ( !field.hasSubfield(subfieldcode) ) {
>
> field.addSubfieldGrouped( [ subfieldcode,
> subfieldinfo.defaultvalue || '' ] );
>
> } else if ( subfieldinfo.defaultvalue &&
> field.subfield( subfieldcode ) === '' ) {
>
>             field.subfield( subfieldcode,
> subfieldinfo.defaultvalue );
>
> }
>
> } );
>
> } );
>
> } );
>
> },
>
>
&g

Re: [Koha-devel] Rancor/Advanced MARC Editor templates?

2020-07-23 Thread Andrew Fuerste-Henry
Hi David,

Could macros do what you're looking for here? Create a macro for each type
of record that inserts all of the blank fields you need for that type?

Andrew

On Wed, Jul 22, 2020 at 11:37 PM  wrote:

> Hi all,
>
>
>
> Is it possible to define templates for Rancor/Advanced MARC Editor?
>
>
>
> On systems like Horizon, it’s possible to have different templates, so
> cataloguers can at a glance see what fields they need to fill in for a
> particular type of record (e.g. book vs journal vs dvd).
>
>
>
> If it’s not possible, I want to make it possible, but I’m not sure if we
> should use the “Editor” setting in MARC Bibliographic Frameworks, or create
> a new feature for providing Rancor Templates.
>
>
>
> Personally, I’ve always hated how MARC Bibliographic Frameworks act as
> both Editor templates (for rendering HTML) and data filters (ie if the
> field is not in the framework, it gets stripped out of the record at save
> time).
>
>
>
> In my ideal world, editor templates and data filters would be 2 separate
> features. For Rancor, I think MARC Bibliographic Frameworks already act as
> data filters, and it would be backwards incompatible to use them for
> templates as well, so adding a new feature for Rancor templates is probably
> the logical conclusion?
>
>
>
> David Cook
>
> Systems Librarian
>
> Prosentient Systems
>
> 72/330 Wattle St
>
> Ultimo, NSW 2007
>
> Australia
>
>
>
> Office: 02 9212 0899
>
> Online: 02 8005 0595
>
>
> ___
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>


-- 
Andrew Fuerste-Henry
Educator
(he/him/his)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha? <http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


Re: [Koha-devel] remote training on Koha & covid-19

2020-03-13 Thread Andrew Fuerste-Henry
Hi Paul!
Kelly, Donna, and I will find some time here to pool what experience we
have.
Andrew

On Fri, Mar 13, 2020 at 12:33 PM Paul Poulain 
wrote:

> Hello all,
>
> In France, we always move to the library for training. With the covid-19
> we may have to do some remote training. Have you experimented remote
> training ? How does it go ? How do you organise the training ? Any hints ?
>
> Thanks for anything shared, that will be helpful for us !
>
> --
> Paul Poulain, Associé-gérant / co-owner
> BibLibre, Services en logiciels libres pour les bibliothèques
> BibLibre, Open Source software and services for libraries
>
> ___
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>


-- 
Andrew Fuerste-Henry
Educator
(he/him/his)
ByWater Solutions
bywatersolutions.com
Phone:(888)900-8944 <(888)%20900-8944>

What is Koha? <http://bywatersolutions.com/what-is-koha/>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/