Asked for: "füge noch ein, dass man nach nutzern suchen kann" and "es soll zusätzlich eine standard sortierung
geben, da ist dann oben bei der sortierung nichts angewählt. diese standard sortierung kann von der gildenleitung
angepasst werden per drag und drop was die reihenfolge angeht".
- Search (premades.php, assets/js/premades.js): a search field above the sort chips finds players by the shown
name, website and Discord name and the names of their characters (lead, members, reserve, open invitations)
and premades by their name. Premades without a match are hidden; found players get a gold frame while the
other places of the card step back (the gold lead would look like a hit otherwise). The term stays in the
address (?q=) so it survives a reload; count and an empty note like on the raid page.
- Standard order (includes/premade_order.php): premade_options.sort_order per premade, schema version 63. The
leadership (premades.manage) arranges it below the chips under "Standard-Reihenfolge festlegen" with the same
list as the tag order (assets/js/tag-order.js: handle, arrows, unsaved note). premade_action.php "order" keeps
premades founded meanwhile at the end, drops dissolved ones and logs before/after. Premades without a place
follow in founding order. The server delivers the page in this order (own premades still first), each card
carries data-sort-default.
- Sorting: no chip is active by default any more - then the standard order applies, and a second click on the
active chip goes back to it.
- Live updates also watch sort_order, the data reset area mentions the order. Patch notes and README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>