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

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

Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?