Skip to content

Commit

Permalink
fixup! Send map widget GET request to info-search view
Browse files Browse the repository at this point in the history
  • Loading branch information
stveit committed Feb 6, 2025
1 parent b47b2db commit c0e5a1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/nav/web/navlets/room_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from django.urls import reverse

from nav.web.navlets import Navlet
from nav.web.info.room.views import SearchForm
from nav.web.info.room.views import RoomSearchForm


class RoomMapNavlet(Navlet):
Expand All @@ -32,7 +32,7 @@ def get(self, request, *args, **kwargs):
context['can_edit_rooms'] = request.account.has_perm(
'web_access', reverse('seeddb-room-edit')
)
context['searchform'] = SearchForm(form_action='info-search')
context['searchform'] = RoomSearchForm()
return self.render_to_response(context)

def get_template_basename(self):
Expand Down

0 comments on commit c0e5a1d

Please sign in to comment.