<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="371444" data-post-id="371444">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="a3kov" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/a3kov/120/36235_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  a3kov
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote group-Ash-Core-Team" data-username="zachdaniel" data-post="80" data-topic="64314">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zachdaniel/48/31980_2.png" class="avatar"> zachdaniel:</div>
<blockquote>
<p>they didn’t break anything. It’s free, and literally every revision is available on GH. So the thing they already gave you(for free) you still have(for free). They simply released <em>more stuff</em>(for free) that you don’t like when compared to the old stuff(that was free)</p>
</blockquote>
</aside>
<p>One of the winning moves by Elixir was explicit long term stability. Imagine if José released every new Elixir version breaking existing projects, and said “It’s free, so don’t complain”.</p>
<p>Now, it is understandable why it’s missing in this case, and I got the answer that I needed straight from the developer. I’ll decide later what is the proper course of action in my case, and maybe will do as suggested (forking).</p>
<aside class="quote no-group" data-username="arcanemachine" data-post="81" data-topic="64314" data-full="true">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/arcanemachine/48/29109_2.png" class="avatar"> arcanemachine:</div>
<blockquote>
<p>My heart goes out to all the maintainers who have to put up with these incessant complaints, day in and day out.</p>
</blockquote>
</aside>
<p>When there’s a valid concern from a user, there’s no need to be rude. I’ve been acting in good faith in this thread, and will no longer de-rail it. Thanks.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="371444" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/backpex-a-highly-customizable-admin-panel-for-phoenix-liveview-applications/64314/83">Post #82</a>
	                </div>
	            </div>
              <div id="likers-container-371444" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="371444"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #82"></div>
  </section>
</div>
    <div class="postbit" id="371445" data-post-id="371445">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="ghannam80" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/ghannam80/120/35232_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  ghannam80
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks <a class="mention" href="/u/flo0807" rel="nofollow">@Flo0807</a> I opened a discussion as you suggested to get even other people feedback about it in order to enhance the discussion.<br>
I worked mostly in enterprise corporates where such requirement is a mandate “financial sector” plus others like 2FA  , dual control and integration with SSO ,..etc so it is good to get others perspective.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="371445" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/backpex-a-highly-customizable-admin-panel-for-phoenix-liveview-applications/64314/84">Post #83</a>
	                </div>
	            </div>
              <div id="likers-container-371445" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="371445"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #83"></div>
  </section>
</div>
    <div class="postbit" id="371448" data-post-id="371448">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="zachdaniel" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zachdaniel/120/31980_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  zachdaniel
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Ash</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>My only issue is with the language, not the desire for a different choice to have been made there.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="371448" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/backpex-a-highly-customizable-admin-panel-for-phoenix-liveview-applications/64314/85">Post #84</a>
	                </div>
	            </div>
              <div id="likers-container-371448" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="371448"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #84"></div>
  </section>
</div>
    <div class="postbit" id="373624" data-post-id="373624">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="joelparkerhenderson" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/joelparkerhenderson/120/39080_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  joelparkerhenderson
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I’m creating a simple Ash &amp; Backpex &amp; AshBeckpex demo for the purpose of teaching more developers how to combine current Ash and current Backpex.</p>
<p>The Ash capabilities succeed. The Backpex capabilities fail when I visit /admin/items with the error message:</p>
<p>``<br>
<code>function AshBackpex.Adapter.count/4 is undefined or private</code><br>
``</p>
<p>Eileen or Florian, could you possibly point me in the right direction for help?</p>
<p>The tutorial is here:</p>
<p><a href="https://github.com/joelparkerhenderson/demo-elixir-ash-backpex" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/joelparkerhenderson/demo-elixir-ash-backpex</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="373624" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/backpex-a-highly-customizable-admin-panel-for-phoenix-liveview-applications/64314/86">Post #85</a>
	                </div>
	            </div>
              <div id="likers-container-373624" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="373624"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #85"></div>
  </section>
</div>
    <div class="postbit" id="373626" data-post-id="373626">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="eileennoonan" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/eileennoonan/120/36180_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  eileennoonan
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>That’s great! We do already have a demo in AshBackpex - maybe you could add to that and PR?</p>
<p>I’m afk right now otherwise I’d send links and such but it’s in the repo!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="373626" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/backpex-a-highly-customizable-admin-panel-for-phoenix-liveview-applications/64314/87">Post #86</a>
	                </div>
	            </div>
              <div id="likers-container-373626" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="373626"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #86"></div>
  </section>
</div>
    <div class="postbit" id="373630" data-post-id="373630">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="joelparkerhenderson" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/joelparkerhenderson/120/39080_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  joelparkerhenderson
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks, yes, that helps. When I run your demo, it succeeds. It seems to help hone in on the error.</p>
<p>Your demo has this file:</p>
<p>…/lib/backpex/live_resource/index.ex</p>
<p>And uses Resource.count/3:</p>
<p>{:ok, item_count} = Resource.count(count_criteria, socket.assigns, live_resource)</p>
<p>Whereas in my project which is built from scratch today the failure file is:</p>
<p>../lib/backpex/live_resource/index.ex</p>
<p>And failure line with Resource.count/4 (different arity).</p>
<p>{:ok, item_count} = Resource.count(count_criteria, fields, socket.assigns, live_resource)</p>
<p>In case it’s helpful to know as context, I’m aiming to create is a step-by-step training tutorial that shows a Rails Avo developer how to try Phoenix Ash Backpex by adding each aspect. I want the person to build fresh, so a newcomer is able to understand what’s happening.</p>
<p>Did something with the arity change since your demo til now? Or am I missing something conceptually? Any guidance is much appreciated.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="373630" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/backpex-a-highly-customizable-admin-panel-for-phoenix-liveview-applications/64314/88">Post #87</a>
	                </div>
	            </div>
              <div id="likers-container-373630" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="373630"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #87"></div>
  </section>
</div>
    <div class="postbit" id="373632" data-post-id="373632">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="eileennoonan" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/eileennoonan/120/36180_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  eileennoonan
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Can you create a GitHub issue on AshBackpex for the count bug?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="373632" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/backpex-a-highly-customizable-admin-panel-for-phoenix-liveview-applications/64314/89">Post #88</a>
	                </div>
	            </div>
              <div id="likers-container-373632" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="373632"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #88"></div>
  </section>
</div>
    <div class="postbit" id="373636" data-post-id="373636">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="joelparkerhenderson" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/joelparkerhenderson/120/39080_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  joelparkerhenderson
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Yes done, thank you: <a href="https://github.com/enoonan/ash_backpex/issues/5" class="inline-onebox" rel="noopener nofollow ugc">Bug with version mismatch live_resource/index.ex Resource.count arity 3 or 4 · Issue #5 · enoonan/ash_backpex · GitHub</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="373636" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/backpex-a-highly-customizable-admin-panel-for-phoenix-liveview-applications/64314/90">Post #89</a>
	                </div>
	            </div>
              <div id="likers-container-373636" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="373636"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #89"></div>
  </section>
</div>
    <div class="postbit" id="373653" data-post-id="373653">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Flo0807" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Flo0807/120/28461_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Flo0807
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hey,</p>
<p>as stated in our <a href="https://hexdocs.pm/backpex/v0-15.html#resource-and-adapter-functions-have-been-updated" rel="noopener nofollow ugc">upgrade guide</a>, we changed the arity of a few adapter functions with Backpex v0.15.</p>
<p>So <code>count/3</code> becomes <code>count/4</code> because it now receives the list of fields as the second param.</p>
<p>We need the list of fields inside the adapter, as fields can be configured to be hidden on certain views. Previously, we fetched the fields from the <code>live_resource</code> inside the Ecto adapter functions.</p>
<p>We include the list as an extra param to make it more explicit.</p>
<p>Therefore, you have to pass the list of fields to <code>list/4</code>, <code>count/4</code>, <code>get/4</code> and <code>get!/4</code>. You can fetch it from the assigns (<code>assigns.fields</code>) like this:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">fields = socket.assigns.fields
Resource.count(count_criteria, fields, socket.assigns, live_resource)
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="373653" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/backpex-a-highly-customizable-admin-panel-for-phoenix-liveview-applications/64314/91">Post #90</a>
	                </div>
	            </div>
              <div id="likers-container-373653" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="373653"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #90"></div>
  </section>
</div>
    <div class="postbit" id="373996" data-post-id="373996">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Flo0807" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Flo0807/120/28461_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Flo0807
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<h1><a name="p-373996-backpex-v015-1" class="anchor" href="#p-373996-backpex-v015-1" aria-label="Heading link" rel="nofollow"></a>Backpex v0.15</h1>
<p>You might have noticed that we’ve released Backpex v0.15. This release focuses on developer experience by shipping an Igniter task (<code>mix backpex.install</code>) to install Backpex into an existing Phoenix LiveView application. We plan to add more useful tasks in the future <img src="https://forum.elixirforum.com/images/emoji/apple/building_construction.png?v=15" title=":building_construction:" class="emoji" alt=":building_construction:" loading="lazy" width="20" height="20"></p>
<p>We’ve also upgraded Backpex to Phoenix 1.8. While you don’t have to change the configuration in your LiveResource, we expect the configured layout to be a component, which is <a href="https://hexdocs.pm/phoenix_live_view/1.1.8/live-layouts.html" rel="noopener nofollow ugc">the recommended way to add dynamic app layouts with Phoenix 1.8</a>.</p>
<p>The release also includes some bug fixes and updates to the docs as well as some adapter changes.</p>
<p>Make sure to read the <a href="https://hexdocs.pm/backpex/v0-15.html" rel="noopener nofollow ugc">upgrade guide</a> for migration instructions and breaking changes.</p>
<ul>
<li><strong>Release Notes</strong>: <a href="https://github.com/naymspace/backpex/releases/tag/0.15.0" class="inline-onebox" rel="noopener nofollow ugc">Release 0.15.0 · naymspace/backpex · GitHub</a></li>
<li><strong>Upgrade Guide</strong>: <a href="https://hexdocs.pm/backpex/v0-15.html" class="inline-onebox" rel="noopener nofollow ugc">Upgrading to v0.15 — Backpex v0.18.3</a></li>
</ul> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="373996" data-batch-url="/posts/batch_likers">
                        4
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/backpex-a-highly-customizable-admin-panel-for-phoenix-liveview-applications/64314/92">Post #91</a>
	                </div>
	            </div>
              <div id="likers-container-373996" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="373996"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>