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;








1















I have a code:



$productCollectionClone = $productCollection->getCollectionClone();
$collection = $productCollectionClone->removeAttributeSearch($attribute->getAttributeCode());


Anyone can help me explain how the function removeAttributeSearch work?










share|improve this question



















  • 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

















1















I have a code:



$productCollectionClone = $productCollection->getCollectionClone();
$collection = $productCollectionClone->removeAttributeSearch($attribute->getAttributeCode());


Anyone can help me explain how the function removeAttributeSearch work?










share|improve this question



















  • 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













1












1








1








I have a code:



$productCollectionClone = $productCollection->getCollectionClone();
$collection = $productCollectionClone->removeAttributeSearch($attribute->getAttributeCode());


Anyone can help me explain how the function removeAttributeSearch work?










share|improve this question














I have a code:



$productCollectionClone = $productCollection->getCollectionClone();
$collection = $productCollectionClone->removeAttributeSearch($attribute->getAttributeCode());


Anyone can help me explain how the function removeAttributeSearch work?







magento2 collection






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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 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












  • 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







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










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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form