Coder Social home page Coder Social logo

Comments (7)

alxndr-w avatar alxndr-w commented on May 24, 2024

https://github.com/tyrant88/search_it/tree/doku-pagination

from search_it.

alxndr-w avatar alxndr-w commented on May 24, 2024

Features:

  • Generiert eine nummerierte Liste anhand 3 Parametern ($total, $page, $limit)
  • Syntax und Klassen definierbar
  • Text für Vor/Zurück und Erste/Letzte-Links definierbar
  • Vor/Zurück und Erste/Letzte Seite-Link optional
  • Anzahl der Links um die aktuelle Trefferseite definierbar
  • Ziel-Artikel-ID, Ziel-Hash (für Sprungmarke) definierbar

from search_it.

tyrant88 avatar tyrant88 commented on May 24, 2024

Hast dir so ne Mühe gemacht, Mist, und ich muss wieder rummäkeln...
Ich bin halt Purist, für mich ist das eher ne Modul-Sache...
Search it liefert mir die Ergebnisse, wie ich die dann verarbeite suche ich mir von Projekt zu Projekt aus.
Vielleicht mit Paginierung, vielleicht mit AJAX nachladen...
Wenn du irgendeine Möglichkeit siehst..., aber wenn es dir nicht unwichtig ist, nehmen wir es...

from search_it.

alxndr-w avatar alxndr-w commented on May 24, 2024

Das ist nicht so wild. Wir können die Klasse auch auf FOR > tricks packen und darauf verweisen, weil im Grunde genommen eine Paginierung auch nicht zwingend zu einer Volltextsuche gehört und die Ausgabe ja komplett unabhängig von search_it ist.

from search_it.

xong avatar xong commented on May 24, 2024

Hey, ihr seid ja schon echt weit gekommen. Find ich klasse.

Ich hatte das Suchaddon damals ausschließlich als Suchindex geplant, dass zusätzlich eine Methode anbietet, innerhalb des Index zu suchen.
Ich würde euch empfehlen, diese Trennung zwischen Index und Ausgabe beizubehalten. Die generelle Paginierung der Suchergebnisse ist ja schon durch die Methode "setLimit" möglich. Wie die Ausgabe letztendlich aussieht, würde ich aber dem Ausgabemodul überlassen.

from search_it.

tyrant88 avatar tyrant88 commented on May 24, 2024

Hi xong,
genau das war auch mein Empfinden.

from search_it.

alxndr-w avatar alxndr-w commented on May 24, 2024

ist jetzt bei FOR > tricks und das HowTo aktualisiere ich noch, falls ich das nicht bereits gemacht habe. Passt also :)

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.