A new request with request id 12245 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is :

Title : Koha-devel Digest, Vol 195, Issue 10
Category :
Description :
Send Koha-devel mailing list submissions to
    koha-devel@lists.koha-community.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
or, via email, send a message with subject or body 'help' to
    koha-devel-request@lists.koha-community.org

You can reach the person managing the list at
    koha-devel-owner@lists.koha-community.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha-devel digest..."


Today's Topics:

1. Re: Elasticsearch query with suppress:false not returning
expected results (Kevin Carnes)
2. Re: Staff interface redesign: Update (Fridolin SOMERS)


----------------------------------------------------------------------

Message: 1
Date: Fri, 18 Feb 2022 14:33:48 +0000
From: Kevin Carnes <kevin.carnes@ub.lu.se>
To: "koha-devel@lists.koha-community.org"
    <koha-devel@lists.koha-community.org>
Subject: Re: [Koha-devel] Elasticsearch query with suppress:false not
    returning expected results
Message-ID: <8a0cec63e9fb4e04bb69dfa37417221d@ub.lu.se>
Content-Type: text/plain; charset="iso-8859-1"

Hi Philippe,

Your second query appears to be correct. Is it possible that one of the "expropriation" records is suppressed in the the OPAC? Try searching for "title:expropriation AND suppress:true" (without QueryAutoTruncate).

It's possible to automatically add parentheses to both the query and the limits by editing the Koha/SearchEngine/Elasticsearch/QueryBuilder.pm file. After "$search_param_query_str = join( ' ', $self->_create_query_string(@search_params) );" add:
if ($search_param_query_str) {
$search_param_query_str = "($search_param_query_str)";
}
my $search_param_limits_str = $self->_join_queries( $self->_convert_index_strings(@$limits) );
if ($search_param_limits_str) {
$search_param_limits_str = "($search_param_limits_str)";
}

And then change the "$query_str" to:
$query_str = join( ' AND ',
$search_param_query_str || (),
$search_param_limits_str || () );

Hopefully that will produce the correct results.

Regards,
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220218/f6ff600e/attachment-0001.htm>

------------------------------

Message: 2
Date: Fri, 18 Feb 2022 11:12:10 -1000
From: Fridolin SOMERS <fridolin.somers@biblibre.com>
To: koha-devel@lists.koha-community.org
Subject: Re: [Koha-devel] Staff interface redesign: Update
Message-ID: <8c7c8392-8ff2-faa6-b91f-4eb6865a83c5@biblibre.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

Continuing in this mood I've created the new feature :

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30136
Add back to top button when scrolling

This is a feature we often see custom Javascript.
It whould be great to have it in OPAC and staff interface.

Best regards,

Le 19/01/2022 à 22:18, Paul Poulain a écrit :
> Hi Cab,
>
> Of course end users are more than welcomed ! I agree that we need not to
> be too many, but a end user, that's a great idea ! I'll add you to our
> next meeting invitation, you should get an email.
>
> Le 19/01/2022 à 20:01, Cab Vinton a écrit :
>> If there's a time that makes sense for end-users to chime in, let me
>> know.
>>
>> I know less is more at certain project stages. I'm sure there'll be
>> interest among librarians to provide feedback when the timing's right.
>>
>> All best,
>>
>> Cab Vinton, Director
>> Plaistow Public Library
>> Plaistow, NH
>> _______________________________________________
>> 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/
>

--
Fridolin SOMERS <fridolin.somers@biblibre.com>
Software and system maintainer 🦄
BibLibre, France


------------------------------

Subject: Digest Footer

_______________________________________________
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/


------------------------------

End of Koha-devel Digest, Vol 195, Issue 10
*******************************************


NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.