Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-152650

As a power user, I want to enable filter by one-to-many relationships, from the children's perspective, and define default filters in custom views

Details

    Description

      Context:

      Allow admins to add to the custom views default filters using relationships columns, showing the necessary information to the final user. This view will be customized through this story too, allowing the customer to manage filters in the object entries view page.

      Mockups

      Mockup Link

      Refinement Link

      Acceptance Criteria

      1 - Given an admin user,
      when managing an Object,
      then I must be able to create custom views for that specific object
      and determine which columns will be the default filter 

      2 - Given an admin user,
      when managing a Custom view,
      then I must be able to select the relationship column
      and select the operator
      and inform/select value to be filtered

      • The "operator" field and the "value" field are not mandatory
      • So the user can just use the "filter by" field to register the filter

      3 - Given an admin user,
      when managing a Custom view,
      then I must be able to create a filter by using any one-to-many relationship field, from the children's perspective

      4 - Given an admin user,
      when managing a Custom view,
      then I must be able to edit a default filter column

      5 - Given an admin user,
      when managing a Custom view,
      then I must be able to delete a default filter column

      6 - Given a user,
      when accessing the object portlet,
      then I must be able to see the entries with the default filter applied

      7 - Given a user,
      when accessing the object portlet,
      then I must be able to remove the default filters configured

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • Validated by QA and Product Manager;
      • No critical bug related to Story scope (FP5);
      • Make sure that all system documentation were updated (if necessary)

      Attachments

        Issue Links

          1.
          [DS] Mockups LPS-160812 Design task Closed Julia Lira  
          2.
          [BE] - Adjust DTO of Custom ObjectDefinition and use ObjectFieldSetting LPS-162136 Technical Task Closed Paulo Albuquerque  
          3.
          [BE] - Adjust DTO of System ObjectDefinition LPS-162853 Technical Task Closed Paulo Albuquerque  
          4.
          [BE] - Upgrade Process LPS-162366 Technical Task Closed Paulo Albuquerque  
          5.
          [BE] - Adapt the CustomView Filter Creation LPS-162139 Technical Task Closed Paulo Albuquerque  
          6.
          [BE] - Create FDS Filter dropdown to OneToMany LPS-162137 Technical Task Closed Paulo Albuquerque  
          7.
          [FE] - Remove filter of relationship field LPS-162231 Technical Task Closed Igor Franca  
          8.
          [FE] - Associate Includes/Excludes to the relationship LPS-162232 Technical Task Closed SE Support  
          9.
          [FE] - Show all the object entries from the object definition selected LPS-162233 Technical Task Closed Daniel Bonasser  
          10.
          [FE] - Adapt filter context to support relationship filters when editing an object view LPS-162454 Technical Task Closed Daniel Bonasser  
          11.
          [FE] - Adapt filter code to display the correct values from system fields (Author, Status and ID) LPS-163205 Technical Task Closed Daniel Bonasser  
          12.
          [FE] - Adapt filter code to display the correct values from system fields (Create date, Modified Date) LPS-163461 Technical Task Closed Daniel Bonasser  
          13.
          [FE] - Use the new titleFieldName property to get the titleField LPS-163693 Technical Task Closed Daniel Bonasser  
          14.
          [QA] Review ACs and Draft TCs LPS-162663 Technical Testing Closed Support QA  
          15.
          [QA] Manual validation - Round 1 LPS-165188 Technical Testing Closed Ana Buchmann  
          16.
          It's not possible to save the Relationship field as a Filter LPS-165230 Impedibug Closed Paulo Albuquerque  
          17.
          When a Custom Object is related to a System Object and the relationship field is used as filter, the object's entries are not displayed LPS-165359 Impedibug Closed Paulo Albuquerque  
          18.
          [QA] Manual validation - Round 2 LPS-165636 Technical Testing Closed Ana Buchmann  

          Activity

            People

              luiz.jardim Luiz Jardim
              daniel.angotti Daniel Angotti (Inactive)
              Paulo Albuquerque Paulo Albuquerque
              Kiyoshi Lee Kiyoshi Lee
              Julia Lira
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  Master
                  7.4.13 DXP U51