[4.0] Additional fields available to display in Search Results + Date ordering fix#24898
[4.0] Additional fields available to display in Search Results + Date ordering fix#24898AndySDH wants to merge 5 commits intojoomla:4.0-devfrom
Conversation
|
@AndySDH Drone complains about code style. Here the extract:
Can you fix that? |
Done :) |
|
Drone is ok now. Appveyor failure is not related to this PR. |
On second thought - We actually don't need introtext as it's already there as part of text
|
@AndySDH can you please contact me by franz.wohlkoenig@community.joomla.org? |
|
Please fix conflicting files. |
|
I can't. It says "These conflicts are too complex to resolve in the web editor". So please someone with more knowledge do this please. |
|
@AndySDH You are lucky because the solution is simple: File |
|
Well that file was the only one that was modified in this PR :D So I guess if that file is gone, this PR is useless now :D |
|
@AndySDH I've found it. Please make a PR there for the 4.0-dev branch with the changes of this PR here. |
|
@AndySDH ... and this one here you can close. |
|
Thanks! This was a very nitpicky PR adding quality of life improvements to the component, but if it's getting decoupled from Joomla / deprecated, then it's probably not worth doing this for it anymore. Maybe could be rather good to check if Smart Search has this instead. Can you check if Smart Search has these QOL improvements as written above in "Summary of Changes"? |
|
Please submit PR to https://github.com/joomla-extensions/search . Thanks. |
This serves a similar purpose as this: #24897
But pertains to Search Results Articles instead of Contact Articles.
Summary of Changes
More Fields are made available to be used and displayed in search results for articles. This adds the ability to use the id, publish_up, introtext and images.
Also made sure that all of the fields have an AS alias. This wasn't the case before, where some had an alias and some didn't.
Finally, this makes the search results use the publish_up date instead of the created date when sorting by newest/oldest. The publish_up date makes more sense to use because it's the actual date of the article being published rather than when it was created.
Testing Instructions
None needed. Just little tweaks.
Documentation Changes Required
None.