collective / collective/collective.alias

Exclude Alias of search-results doesn't take effect

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3
Forks
5
PR merge metrics
No merged PRs in 30d

Description

On a fresh Plone-4.3.3 with only this addon installed, when removing Aliases of the types to be searched, they will still show up in (live-)search-results.
That is due to browser.py where a created alias gets the portal_type of the aliased item.
Does anyone know why it's done that way? Seems wrong to me.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in browser.py, where the alias is created and receives the aliased item's portal_type. Reproduce the issue on a fresh Plone 4.3.3 site by removing the aliased type from the searched types, then check live-search and regular search results. Done means excluded alias types no longer appear in either result set.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.