Function removeAttributeSearchCollection with custom data not filteringUnderstanding Collections in MagentoMagento 2 get out of stock products in collectionMagento 2: Product collection with filtersHow to get the list of all product attributes with their detailsWhat is data-post, data-action in magento 2? Can anyone explain wishlist functionality?Magento 2 How Sales Graph Work on DashboardHow to create a addnametoselect function for custom tablesBest seller items in category magento 2How i can work with extension attributes using collection?
The Lucky House
Are unaudited server logs admissible in a court of law?
Polar contour plot in Mathematica?
Tikz: The position of a label change step-wise and not in a continuous way
Is this bar slide trick shown on Cheers real or a visual effect?
What's a good pattern to calculate a variable only when it is used the first time?
How could Tony Stark wield the Infinity Nano Gauntlet - at all?
Why do aircraft leave cruising altitude long before landing just to circle?
Best model for precedence constraints within scheduling problem
What's the point of writing that I know will never be used or read?
Why should P.I be willing to write strong LOR even if that means losing a undergraduate from his/her lab?
Unconventional examples of mathematical modelling
Would getting a natural 20 with a penalty still count as a critical hit?
What is the purpose/function of this power inductor in parallel?
Why do so many people play out of turn on the last lead?
Earliest evidence of objects intended for future archaeologists?
Can an ally use your Shadow Blade without it dissipating?
Why was ramjet fuel used as hydraulic fluid during Saturn V checkout?
Output with the same length always
What would cause a nuclear power plant to break down after 2000 years, but not sooner?
How do I answer an interview question about how to handle a hard deadline I won't be able to meet?
Has there ever been a truly bilingual country prior to the contemporary period?
Are there any rules on how characters go from 0th to 1st level in a class?
Replacing old plug-in 220V range with new hardwire 3-wire electric cooktop: remove outlet or add a plug?
Function removeAttributeSearch
Collection with custom data not filteringUnderstanding Collections in MagentoMagento 2 get out of stock products in collectionMagento 2: Product collection with filtersHow to get the list of all product attributes with their detailsWhat is data-post, data-action in magento 2? Can anyone explain wishlist functionality?Magento 2 How Sales Graph Work on DashboardHow to create a addnametoselect function for custom tablesBest seller items in category magento 2How i can work with extension attributes using collection?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a code:
$productCollectionClone = $productCollection->getCollectionClone();
$collection = $productCollectionClone->removeAttributeSearch($attribute->getAttributeCode());
Anyone can help me explain how the function removeAttributeSearch work?
magento2 collection
add a comment |
I have a code:
$productCollectionClone = $productCollection->getCollectionClone();
$collection = $productCollectionClone->removeAttributeSearch($attribute->getAttributeCode());
Anyone can help me explain how the function removeAttributeSearch work?
magento2 collection
1
This is not a default Magento function. It seems you are using mageplaza layered navigation extension. Can you please confirm ?
– Abdul Pathan
Aug 6 at 10:06
Yes, You're right. Thank you. I have a bug with Magento 2.3.2. Call to undefined method MagentoCatalogSearchModelResourceModelFulltextCollectionInterceptor::getCollectionClone(). Do you know how to fix it?
– David Duong
Aug 6 at 10:11
1
It seems the Fulltext Search Model is not properly overriden, because its trying to callgetCollectionClone()
on core module and its not part of core functionality. Have you added this module recently ?
– Abdul Pathan
Aug 6 at 10:29
Yes, I have installed this module. When I try to filter, I get this issue.
– David Duong
Aug 6 at 10:34
add a comment |
I have a code:
$productCollectionClone = $productCollection->getCollectionClone();
$collection = $productCollectionClone->removeAttributeSearch($attribute->getAttributeCode());
Anyone can help me explain how the function removeAttributeSearch work?
magento2 collection
I have a code:
$productCollectionClone = $productCollection->getCollectionClone();
$collection = $productCollectionClone->removeAttributeSearch($attribute->getAttributeCode());
Anyone can help me explain how the function removeAttributeSearch work?
magento2 collection
magento2 collection
asked Aug 6 at 9:54
David DuongDavid Duong
1019 bronze badges
1019 bronze badges
1
This is not a default Magento function. It seems you are using mageplaza layered navigation extension. Can you please confirm ?
– Abdul Pathan
Aug 6 at 10:06
Yes, You're right. Thank you. I have a bug with Magento 2.3.2. Call to undefined method MagentoCatalogSearchModelResourceModelFulltextCollectionInterceptor::getCollectionClone(). Do you know how to fix it?
– David Duong
Aug 6 at 10:11
1
It seems the Fulltext Search Model is not properly overriden, because its trying to callgetCollectionClone()
on core module and its not part of core functionality. Have you added this module recently ?
– Abdul Pathan
Aug 6 at 10:29
Yes, I have installed this module. When I try to filter, I get this issue.
– David Duong
Aug 6 at 10:34
add a comment |
1
This is not a default Magento function. It seems you are using mageplaza layered navigation extension. Can you please confirm ?
– Abdul Pathan
Aug 6 at 10:06
Yes, You're right. Thank you. I have a bug with Magento 2.3.2. Call to undefined method MagentoCatalogSearchModelResourceModelFulltextCollectionInterceptor::getCollectionClone(). Do you know how to fix it?
– David Duong
Aug 6 at 10:11
1
It seems the Fulltext Search Model is not properly overriden, because its trying to callgetCollectionClone()
on core module and its not part of core functionality. Have you added this module recently ?
– Abdul Pathan
Aug 6 at 10:29
Yes, I have installed this module. When I try to filter, I get this issue.
– David Duong
Aug 6 at 10:34
1
1
This is not a default Magento function. It seems you are using mageplaza layered navigation extension. Can you please confirm ?
– Abdul Pathan
Aug 6 at 10:06
This is not a default Magento function. It seems you are using mageplaza layered navigation extension. Can you please confirm ?
– Abdul Pathan
Aug 6 at 10:06
Yes, You're right. Thank you. I have a bug with Magento 2.3.2. Call to undefined method MagentoCatalogSearchModelResourceModelFulltextCollectionInterceptor::getCollectionClone(). Do you know how to fix it?
– David Duong
Aug 6 at 10:11
Yes, You're right. Thank you. I have a bug with Magento 2.3.2. Call to undefined method MagentoCatalogSearchModelResourceModelFulltextCollectionInterceptor::getCollectionClone(). Do you know how to fix it?
– David Duong
Aug 6 at 10:11
1
1
It seems the Fulltext Search Model is not properly overriden, because its trying to call
getCollectionClone()
on core module and its not part of core functionality. Have you added this module recently ?– Abdul Pathan
Aug 6 at 10:29
It seems the Fulltext Search Model is not properly overriden, because its trying to call
getCollectionClone()
on core module and its not part of core functionality. Have you added this module recently ?– Abdul Pathan
Aug 6 at 10:29
Yes, I have installed this module. When I try to filter, I get this issue.
– David Duong
Aug 6 at 10:34
Yes, I have installed this module. When I try to filter, I get this issue.
– David Duong
Aug 6 at 10:34
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f284546%2ffunction-removeattributesearch%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f284546%2ffunction-removeattributesearch%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
This is not a default Magento function. It seems you are using mageplaza layered navigation extension. Can you please confirm ?
– Abdul Pathan
Aug 6 at 10:06
Yes, You're right. Thank you. I have a bug with Magento 2.3.2. Call to undefined method MagentoCatalogSearchModelResourceModelFulltextCollectionInterceptor::getCollectionClone(). Do you know how to fix it?
– David Duong
Aug 6 at 10:11
1
It seems the Fulltext Search Model is not properly overriden, because its trying to call
getCollectionClone()
on core module and its not part of core functionality. Have you added this module recently ?– Abdul Pathan
Aug 6 at 10:29
Yes, I have installed this module. When I try to filter, I get this issue.
– David Duong
Aug 6 at 10:34