<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Facets should behave consistently</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122408712" />
  <subtitle>Facets should behave consistently</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122408712</id>
  <updated>2026-04-06T05:03:57Z</updated>
  <dc:date>2026-04-06T05:03:57Z</dc:date>
  <entry>
    <title>RE: RE: Facets should behave consistently</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122412144" />
    <author>
      <name>Janne Väänänen</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122412144</id>
    <updated>2024-02-21T13:33:32Z</updated>
    <published>2024-02-21T05:47:07Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the rely. If you have access to your help ticket system
  you can find more evidence there https://help.liferay.com/hc/en-us/requests/103739&lt;/p&gt;
&lt;p&gt;Anyway here is results for mentioned &amp;quot;star&amp;quot; and
  &amp;quot;earth&amp;quot; searches. From these you can see that in earth case
  the facet shows to previous selection with count 0 and star
    doesn't. &lt;img alt="" height="218" src="/documents/d/guest/past-hour-png?imagePreview=1"&gt;
  &lt;img alt="" height="218" src="/documents/d/guest/star-result-png?imagePreview=1"&gt;
  &lt;br&gt;  &lt;/p&gt;</summary>
    <dc:creator>Janne Väänänen</dc:creator>
    <dc:date>2024-02-21T05:47:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: Facets should behave consistently</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122410427" />
    <author>
      <name>Tibor Lipusz</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122410427</id>
    <updated>2024-02-20T18:35:49Z</updated>
    <published>2024-02-20T18:35:48Z</published>
    <summary type="html">&lt;p&gt;Created &lt;a href="https://liferay.atlassian.net/browse/LPD-18245"&gt;https://liferay.atlassian.net/browse/LPD-18245&lt;/a&gt;.&lt;/p&gt;</summary>
    <dc:creator>Tibor Lipusz</dc:creator>
    <dc:date>2024-02-20T18:35:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: Facets should behave consistently</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122410394" />
    <author>
      <name>Tibor Lipusz</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122410394</id>
    <updated>2024-02-20T18:32:26Z</updated>
    <published>2024-02-20T18:32:26Z</published>
    <summary type="html">&lt;p&gt;Hello Janne,&lt;/p&gt;
&lt;p&gt;We identified this as a potential area to improve, recorded breifly
  on &lt;a
  href="https://liferay.atlassian.net/browse/LPS-149257"&gt;https://liferay.atlassian.net/browse/LPS-149257&lt;/a&gt;
  originally. Now that it came up again, I can create a new ticket so it
  can be revisited when planning future milestones.&lt;/p&gt;
&lt;p&gt;As this has always been the behavior since the modular search widgets
  were introduced in 7.1, there may be different, equally valid expectations.&lt;/p&gt;
&lt;p&gt;Also, according to my quick test, all off the OOTB facets behave
  consistently in regards to this, though this can be also double-checked.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Tibor&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Tibor Lipusz</dc:creator>
    <dc:date>2024-02-20T18:32:26Z</dc:date>
  </entry>
  <entry>
    <title>Facets should behave consistently</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122408711" />
    <author>
      <name>Janne Väänänen</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122408711</id>
    <updated>2024-02-20T17:44:09Z</updated>
    <published>2024-02-20T09:58:15Z</published>
    <summary type="html">&lt;p&gt;This case was found as a expected behaviour and not as bug. Therefore
  reported here to get unified user experience when using facets.&lt;/p&gt;
&lt;p&gt;We found out that in some search + facet use cases the previous facet
  selection is not visible after a new search and this makes situation
  hard to understand for the user. Affected facets in our testing are:&lt;/p&gt;
&lt;p&gt;- Type&lt;br&gt; - Site&lt;br&gt; - Tag&lt;br&gt; - User&lt;br&gt; - Folder&lt;br&gt; - Specification&lt;/p&gt;
&lt;p&gt;Working facets:&lt;br&gt; - Last modified&lt;br&gt; - Category&lt;br&gt; - Custom&lt;/p&gt;
&lt;p&gt;Steps are otherwise the same for all facets except that the test data
  must be created for each case separately. For us, the type facet and
  specification facet are the critical ones.&lt;/p&gt;
&lt;p&gt;Steps for type facet:&lt;br&gt; - Edit search page (Site builder -&amp;gt;
  Pages -&amp;gt; Search)&lt;br&gt; - Add Type facet on the page&lt;br&gt; - Search for
  * if you don't see any results on the page&lt;br&gt; - Click/select Page
  from type facet&lt;br&gt; - Search for star from the either one of the
  search bars&lt;/p&gt;
&lt;p&gt;Expected:&lt;br&gt; - User sees previous page selection with count 0&lt;/p&gt;
&lt;p&gt;Actual:&lt;br&gt; - User sees only clear link and Document with count 1 in
  type facet&lt;/p&gt;
&lt;p&gt;If you setup data for last modified, category or custom facet, the
  previous selection is visible with count 0, which is good. For
  example, edit stars.png, search for *, select Past hour from last
  modified facet (add it on the page if needed) and search for earth
  (this requires that your data on the Liferay is older than 1h).&lt;/p&gt;
&lt;p&gt;Tested on 2023.Q4.0&lt;/p&gt;</summary>
    <dc:creator>Janne Väänänen</dc:creator>
    <dc:date>2024-02-20T09:58:15Z</dc:date>
  </entry>
</feed>
