Skip to main content

Sort Violations for Quick Access

OPSCOMThe Sort Violations for Quick Access feature allows administrators to customize the display order of Ticketticket Offenceoffence Itemsitems (violations) for quicker access, especially useful for frequently used offences. Byby strategically adding spaces to the beginning of offence names,names. youIts canprimary controlpurpose theiris sortingto orderreorder long lists of violations, ensuring the most frequently used offences appear at the top for quicker selection on both the admin interface and handheld devices,enforcement improvingdevices. efficiencyThis article is intended for enforcementOPS-COM officersadministrators responsible for configuring violation settings and dataoptimizing entryfield personnel.officer workflows.

Setup and Configuration

This feature leverages a built-in alphanumeric sorting behavior to enhance administrative and enforcement workflows.

WhenAdmin managingSide: aAdministrators longmust listhave ofthe violationappropriate system role permissions enabled to access the violations configuration menus and edit ticket offence items,items.

it can be time-consuming to scroll and find specific offences. The challenge is to reorder

Using this list for quick access, ensuring the most commonly used offences appear at the top.

Feature

The system automatically sorts lists alphanumerically. We can take advantage of the fact thatBecause a space character () comes before all alphanumeric characters in the standard ASCII character table. Bytable, prefixing a violation name with one or more spaces,spaces you can forceforces it to appear higher in the sorted list.

Example of Sorting with Spaces:

  • Zebra Offence (two spaces, sorts first)

  • Test Offence (one space, sorts second)

  • Apple Offence (no space, sorts third)

  • Bottle Offence (no space, sorts fourth)

Let'sAdministrators walkcan throughuse athe practicalfollowing exampleinstructions ofto reorderingreorder atheir listviolation oflists.

violations.

Reordering Violations

  1. Hover over System Configuration,Configuration, click Violations, then Violations, and click Manage Ticket Offence Items.

  2. In this example, we will select Private Property as

    Select the specific ticket category.category Thisyou will display a list of violations categorized under "Private Property."

Reordering Violations - An Example

We wantwish to reorder the list so that "Parked in No Parking Area" lists first, "Parked Blocking Fire Hydrant" lists second, andfrom the restdrop-down ofmenu theto violationsdisplay listits inassociated alphabetical order after that.violations.

  1. Modify "Parked in No Parking Area":

    • Click on Parkedthe inspecific Noviolation Parkingyou Areawish to selectmodify it.to Therefresh the screen will refresh with theits entry informationinformation.

      for the violation.
    • Add a single space to the very beginning of the Violation Type Description field.

    • Click the Save ViolationViolation Type.

    • Result:button. The list will now showdisplay "this Parkedmodified initem No Parking Area" (withat the space) as the first item.
    top.

  2. ModifyRepeat "Parkedthe Blockingprocess Firefor Hydrant":

    other
      violations
    • Next,in selectthe Parkedcategory, Blockingusing Firemultiple Hydrant.
    • Add a single spacespaces to thedefine beginningexact ofrankings. itsFor Violationexample, Typeadd Description.two spaces to make an item appear first, and one space to make an item appear second.

    • Save

If two items have the violationexact type.

  • Result: The listing will change again. However, since both now have one space, " Parked Blocking Fire Hydrant" will appear before " Parked in No Parking Area" due to alphabetical sorting of the rest of the name.
  • Adjusting Order with Multiple Spaces:

    • To ensure "Parked in No Parking Area" appears first and "Parked Blocking Fire Hydrant" second, we need to use a differentsame number of spaces.
    • leading
    • Selectspaces, Parkedthe insystem Nowill Parking Area again.
    • Add a second spacerevert to thesorting beginningthem ofalphabetically its Violation Type Description (so it has two spaces: Parked in No Parking Area).
    • Save the violation type.
    • Result: The listbased on the leftremaining now shows "  Parkedcharacters in Notheir Parking Area" in the first position, followed by " Parked Blocking Fire Hydrant" in the second position, and then the rest of the violations in alphabetical order.
  • descriptions.


    Best Practices &and Considerations

    • ConsistencyMaintain issorting Keyconsistency:: If you start using spaces to sort, apply the method consistently across all relevant listslists. (e.g., ifIf you sort one category of offences, consider sorting others forto provide a uniform experience).experience across the system.

    • MinimalUse Spacesminimal spaces:: Use the fewest number of spaces necessary to achieve your desired order. For example, if you only need one item at the very top, onea single space is sufficient. If you need two items, give one getsitem two spaces, and the other getsitem one.one space.

    • HandheldConsider Impactthe handheld impact:: Remember that this sorting method affects the display order on both the admin interface and handheld units,units. Strategically sorting your most common violations directly impactingimproves the efficiency of your enforcement officers in the field.field by reducing scrolling.

    • DocumentationDocument your strategy:: If multiple administrators manage ticket offence items, document your sorting strategy internallyinternally. toThis maintainmaintains consistency and preventprevents accidental reordering.reordering by other staff members editing descriptions.

    • NoAvoid Wildcardsusing wildcards:: This sorting method relies on actual space characters, not wildcards (*) or other special characterscharacters. thatCharacters like an asterisk or dash might not function as expected in standard sort orders.orders and should be strictly avoided.