Coder Social home page Coder Social logo

Search_it vs. access denied about search_it HOT 14 CLOSED

skerbis avatar skerbis commented on July 4, 2024
Search_it vs. access denied

from search_it.

Comments (14)

tyrant88 avatar tyrant88 commented on July 4, 2024 1

Ja, sonst fände ich die Idee auch nicht gut.

from search_it.

skerbis avatar skerbis commented on July 4, 2024 1

#384
FriendsOfREDAXO/accessdenied#43

from search_it.

tyrant88 avatar tyrant88 commented on July 4, 2024

Ich nehme mal an, du hast "Indexiere offline Artikel" angehakt?
Und access_denied setzt den Status auf "2"?

from search_it.

skerbis avatar skerbis commented on July 4, 2024

Nein. Offline Artikel werden nicht indexiert. Accessdenied hat aber eine Vererbung auf Unterkategorien (Siehe Beispiel oben) dort wird der Status nicht verändert. Somit versucht search_it diese zu indexieren?
Ich habe nicht geprüft ob die nur mit Status 2 nicht indexiert werden.

from search_it.

tyrant88 avatar tyrant88 commented on July 4, 2024

Ah, okay. Puh, das macht die Sache schwierig. Da muss ich noch mal überlegen...

Bisher habe ich als Problem gefunden:
Im Moment wird nur geprüft, ob eventuell die Option "indexoffline" gesetzt ist. Das könnte ich erweitern zu ("indexoffline" UND status == 0). Also "nur wenn old school offline"...

from search_it.

skerbis avatar skerbis commented on July 4, 2024

Wo findet der check beim indexieren statt? ... würde mir das gerne mal anschauen. Vielleicht finden wir gemeinsam eine Lösung.

from search_it.

tyrant88 avatar tyrant88 commented on July 4, 2024

Nun ja...
unmittelbar... hier:
https://github.com/FriendsOfREDAXO/search_it/blob/master/lib/search_it.php#L258

from search_it.

skerbis avatar skerbis commented on July 4, 2024

ok. Dann wäre dort bzw davor ein EP ganz gut wo das Access-Denied vielleicht reingrätschen kann und im IF dann eine weitere Bedingung reinmogeln könnte für den aktuellen Artikel. ?

from search_it.

tyrant88 avatar tyrant88 commented on July 4, 2024

Das wäre eine Idee.

from search_it.

skerbis avatar skerbis commented on July 4, 2024

Mache ich fertig

from search_it.

skerbis avatar skerbis commented on July 4, 2024

So könnten auch andere AddOns darauf Einfluss nehmen :-)

from search_it.

skerbis avatar skerbis commented on July 4, 2024

Merged in: #384
Danke @tyrant88

from search_it.

tyrant88 avatar tyrant88 commented on July 4, 2024

So bald ich Zeit habe mach ich auch ein release

from search_it.

skerbis avatar skerbis commented on July 4, 2024

👍🏻

from search_it.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.