Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-4384

Sorting clauses are not taken into account when using `loadLocationChildren` method

    XMLWordPrintable

Details

    • Ibexa Open Source

    Description

      Steps to reproduce:

      1. Add some content under an "Ibexa Platform" folder.
      2. Use the following code to verify how locations are sorted when using the loadLocationChildren API method:
                $location = $this->locationService->loadLocation(2);
                dump($location->sortOrder);
                dump($location->sortField);
                $children = $this->locationService->loadLocationChildren($location);
                dump($children);
        
      3. Play around with "Ibexa Digital Experience Platform" content sorting options for subitems and compare dump results with step 2.

      Result:
      Contents are always sorted in the same way.

      Expected result:
      Contents should be sorted according to the sort clauses set.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bartlomiej.wajda@ibexa.co Bartłomiej Wajda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: