<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Fri Feb 09 00:39:12 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[UXPROD-4347] &apos;Borrower.&apos; filter is not working in API calls</title>
                <link>https://folio-org.atlassian.net/browse/UXPROD-4347</link>
                <project id="10000" key="UXPROD">UX Product</project>
                    <description>&lt;p&gt;&lt;b&gt;Overview:&lt;/b&gt; Query in circulation/loans does not work correctly when making a query in the API &apos;circulation/loans&apos;.&lt;br/&gt;
&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&#8226; Follow the persistent link&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://okapi-bugfest-nolana.int.aws.folio.org/circulation/loans?query=(checkoutServicePointId=97cbff79-97e9-4cb2-b8c9-fb4fc584c66d)&amp;amp;(borrower.firstName=Claudia)&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://okapi-bugfest-nolana.int.aws.folio.org/circulation/loans?query=(checkoutServicePointId=97cbff79-97e9-4cb2-b8c9-fb4fc584c66d)&amp;amp;(borrower.firstName=Claudia)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#8226; When we use &apos;borrower.firstName&apos; as 2nd filter in the API call, it just returns the result for the first filter API call alone.&lt;/p&gt;

&lt;p&gt;&#8226; When we use &apos;borrower.firstName&apos; as 1st filter in the API call, it just returns zero results.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Expected Results:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Api call should return the result with both the filters applied.&lt;br/&gt;
&lt;b&gt;Actual Results:&lt;/b&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#8226; When we use &apos;borrower.firstName&apos; as 2nd filter in the API call, it just returns the result for the first filter API call alone.&lt;/p&gt;

&lt;p&gt;&#8226; When we use &apos;borrower.firstName&apos; as 1st filter in the API call, it just returns zero results.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Additional Information:&lt;/b&gt;&#160; This issue persist in Orchid and Nolana bugfest also&lt;b&gt;.&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;Interested parties: &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=630dedc4b433b060db555155&quot; class=&quot;user-hover&quot; rel=&quot;630dedc4b433b060db555155&quot; data-account-id=&quot;630dedc4b433b060db555155&quot; accountid=&quot;630dedc4b433b060db555155&quot; rel=&quot;noreferrer&quot;&gt;Mamidi Likhitha&lt;/a&gt;&lt;/b&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="12849">UXPROD-4347</key>
            <summary>&apos;Borrower.&apos; filter is not working in API calls</summary>
                <type id="10002" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium">New Feature</type>
                                            <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</priority>
                        <status id="1" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                                        <assignee accountid="5d794c218ce6b60c3810eb8a">Stephanie Buck</assignee>
                                                                <reporter accountid="63033cb95934bfa83b399f0f">Sandhya Sharma</reporter>
                                    <labels>
                    </labels>
                <created>Mon, 12 Jun 2023 12:12:37 +0000</created>
                <updated>Thu, 30 Nov 2023 16:41:56 +0000</updated>
                                                            <fixVersion>TBD</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                <comments>
                                                            <comment id="14668" author="5d794c218ce6b60c3810eb8a" created="Mon, 12 Jun 2023 14:08:21 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=63033cb95934bfa83b399f0f&quot; class=&quot;user-hover&quot; rel=&quot;63033cb95934bfa83b399f0f&quot; data-account-id=&quot;63033cb95934bfa83b399f0f&quot; accountid=&quot;63033cb95934bfa83b399f0f&quot; rel=&quot;noreferrer&quot;&gt;Sandhya Sharma&lt;/a&gt; and &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=630dedc4b433b060db555155&quot; class=&quot;user-hover&quot; rel=&quot;630dedc4b433b060db555155&quot; data-account-id=&quot;630dedc4b433b060db555155&quot; accountid=&quot;630dedc4b433b060db555155&quot; rel=&quot;noreferrer&quot;&gt;Mamidi Likhitha&lt;/a&gt;, how often is this query run? What is the impact to daily operations?&lt;/p&gt;</comment>
                                                            <comment id="14671" author="630dedc4b433b060db555155" created="Mon, 12 Jun 2023 14:16:13 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5d794c218ce6b60c3810eb8a&quot; class=&quot;user-hover&quot; rel=&quot;5d794c218ce6b60c3810eb8a&quot; data-account-id=&quot;5d794c218ce6b60c3810eb8a&quot; accountid=&quot;5d794c218ce6b60c3810eb8a&quot; rel=&quot;noreferrer&quot;&gt;Stephanie Buck&lt;/a&gt;, library use this query often as they check the records of specific users with specific Service Points.&lt;/p&gt;</comment>
                                                            <comment id="14675" author="70121:e853bbc3-9c19-4f53-9a91-b5b7a23f84c6" created="Mon, 12 Jun 2023 21:06:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=63033cb95934bfa83b399f0f&quot; class=&quot;user-hover&quot; rel=&quot;63033cb95934bfa83b399f0f&quot; data-account-id=&quot;63033cb95934bfa83b399f0f&quot; accountid=&quot;63033cb95934bfa83b399f0f&quot; rel=&quot;noreferrer&quot;&gt;Sandhya Sharma&lt;/a&gt;, please try to use the next query:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
/circulation/loans?query=checkoutServicePointId=97cbff79-97e9-4cb2-b8c9-fb4fc584c66d and borrower.firstName=Claudia&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="14679" author="712020:f8cf10ec-9a7e-4703-b676-c1a8cf664b2a" created="Tue, 13 Jun 2023 09:31:02 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=63033cb95934bfa83b399f0f&quot; class=&quot;user-hover&quot; rel=&quot;63033cb95934bfa83b399f0f&quot; data-account-id=&quot;63033cb95934bfa83b399f0f&quot; accountid=&quot;63033cb95934bfa83b399f0f&quot; rel=&quot;noreferrer&quot;&gt;Sandhya Sharma&lt;/a&gt;, you can&apos;t search loans by borrower&apos;s name because loans stored in the DB (in mod-circulation-storage) do not have the &quot;borrower&quot; property. When you call &lt;b&gt;&quot;GET circulation/loans?query=...&quot;&lt;/b&gt; mod-circulation does the following:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;immediately passes your query to mod-circulation-storage (where loans do not contain a &quot;borrower&quot; object)&lt;/li&gt;
	&lt;li&gt;takes the response and extends every loan in it with additional properties (including &quot;borrower&quot;)&lt;/li&gt;
	&lt;li&gt;returns the response back to the caller&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;We have faced a very similar issue recently while working on 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UXPROD-4061&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UXPROD-4061&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Requests: Add optional columns to results table and action menu&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium&quot; /&gt;
            UXPROD-4061
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
. We solved it by adding a new property &quot;searchIndex&quot; to every request object, and copying over missing data to it. If you decide to go the same route, be aware that this search index needs to be kept up-to-date at all times. For example, if a borrower&apos;s last name is changed in mod-users, you need to also change it in your search index to maintain data integrity. We solved that with Kafka events, check out BE stories in 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UXPROD-4061&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UXPROD-4061&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Requests: Add optional columns to results table and action menu&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium&quot; /&gt;
            UXPROD-4061
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5d794c218ce6b60c3810eb8a&quot; class=&quot;user-hover&quot; rel=&quot;5d794c218ce6b60c3810eb8a&quot; data-account-id=&quot;5d794c218ce6b60c3810eb8a&quot; accountid=&quot;5d794c218ce6b60c3810eb8a&quot; rel=&quot;noreferrer&quot;&gt;Stephanie Buck&lt;/a&gt; I&apos;d say it&apos;s not a bug.&lt;/p&gt;</comment>
                                                            <comment id="14685" author="5d794c218ce6b60c3810eb8a" created="Tue, 13 Jun 2023 12:36:18 +0000"  >&lt;p&gt;This change is feature level work and not a bug. Searching by borrower hasn&apos;t been implemented yet. I&apos;ll move this to a feature, but am unable to say when this work could be done.&#160;&lt;/p&gt;

&lt;p&gt;cc: &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=63033cb95934bfa83b399f0f&quot; class=&quot;user-hover&quot; rel=&quot;63033cb95934bfa83b399f0f&quot; data-account-id=&quot;63033cb95934bfa83b399f0f&quot; accountid=&quot;63033cb95934bfa83b399f0f&quot; rel=&quot;noreferrer&quot;&gt;Sandhya Sharma&lt;/a&gt;, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=630dedc4b433b060db555155&quot; class=&quot;user-hover&quot; rel=&quot;630dedc4b433b060db555155&quot; data-account-id=&quot;630dedc4b433b060db555155&quot; accountid=&quot;630dedc4b433b060db555155&quot; rel=&quot;noreferrer&quot;&gt;Mamidi Likhitha&lt;/a&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="11165" name="MicrosoftTeams-image (6).png" size="202352" author="63033cb95934bfa83b399f0f" created="Mon, 12 Jun 2023 12:12:17 +0000"/>
                            <attachment id="11166" name="MicrosoftTeams-image (7).png" size="183278" author="63033cb95934bfa83b399f0f" created="Mon, 12 Jun 2023 12:12:24 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_10107" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Affected Institution</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10424"><![CDATA[University of Zaragoza]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10187"><![CDATA[Vega]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzx268:ix5zficoxyiwzk3zrs0sjugs00hc</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10046" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Release</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Not Scheduled]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 12 Jun 2023 14:08:21 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>