Skip to content

[4.0] Fixing ordering of maps in smart search#33885

Merged
HLeithner merged 3 commits intojoomla:4.0-devfrom
Hackwar:j4findermaps
May 15, 2021
Merged

[4.0] Fixing ordering of maps in smart search#33885
HLeithner merged 3 commits intojoomla:4.0-devfrom
Hackwar:j4findermaps

Conversation

@Hackwar
Copy link
Copy Markdown
Member

@Hackwar Hackwar commented May 14, 2021

Pull Request for Issue #30965.

Summary of Changes

The maps view is not properly ordering the content, which is mainly because the table has been changed from a flat list to a nested table. Since the rows aren't ordered correctly, tasks like publishing the content are failing. This in turn is due to the code checking if parents are published and if the list of items to publish is not in the right order (parents first), that check fails and the whole process fails. This fixes the ordering (more or less) and thus hopefully fixes the publishing issue for now.

Testing Instructions

  1. Install Joomla, install some sampledata.
  2. Go to Smart Search -> Maps
  3. See that the rows are somehow strange, messed up, chaotic.
  4. Select all maps and unpublish and then publish again. The later should fail.
  5. Apply patch
  6. See that for example authors show all up below "Authors"
  7. Select all maps and click on publishing. Now this works.

@ghost
Copy link
Copy Markdown

ghost commented May 15, 2021

I have tested this item ✅ successfully on a22b8e7


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33885.

@alikon
Copy link
Copy Markdown
Contributor

alikon commented May 15, 2021

I have tested this item ✅ successfully on 2436fd7


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33885.

1 similar comment
@ceford
Copy link
Copy Markdown
Contributor

ceford commented May 15, 2021

I have tested this item ✅ successfully on 2436fd7


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33885.

@alikon
Copy link
Copy Markdown
Contributor

alikon commented May 15, 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33885.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label May 15, 2021
@HLeithner HLeithner merged commit c36a837 into joomla:4.0-dev May 15, 2021
@HLeithner
Copy link
Copy Markdown
Member

Thanks

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label May 15, 2021
@HLeithner HLeithner added this to the Joomla 4.0 milestone May 15, 2021
@Hackwar Hackwar deleted the j4findermaps branch January 19, 2022 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants