Ignore:
Timestamp:
01/07/23 12:24:12 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
84652fb
Parents:
ed7ef92
Message:

Filtered parts fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/autopartz/controller/HomeController.java

    red7ef92 r37966cf  
    129129            model.addAttribute("filtered", tmp);
    130130        }
     131        model.addAttribute("selectedCar","Previously selected : "+cartype);
     132        model.addAttribute("selectedCategory","Previously selected : " + category);
     133        model.addAttribute("cars",carService.findAll());
     134        model.addAttribute("categories",categoryService.findAll());
    131135        model.addAttribute("bodyContent","filteredParts");
    132136        return "master-template";
Note: See TracChangeset for help on using the changeset viewer.